|
|
Configuring the SMTP Server
- Expand the Services folder in the left panel and click on SMTP.
- Click on the SMTP tab in the right panel.
![]()
- Enter the options you want to use to configure the SMTP server. Each option is described below.
- Click Apply to save your changes.
- After making changes, stop the SMTP service, wait 5-10 seconds and restart the service. Any changes that you make are saved automatically as soon as you press the Stop/Start Service button.
SMTP Options
You can use the following options to configure the SMTP server.
In the Log To box, select the file that you want to use for logging SMTP events.
- No Log disables logging.
- SYSMMDD.TXT causes all inbound and outbound mail to be logged in the file: [IMail Top Directory]/spool/sysmmdd.txt, where mm is the month and dd is the day the log was written.
- App Log causes inbound mail to be logged in the Application Log, which is viewed with the Windows NT Event Viewer.
- Log Server (the default setting) causes messages to be sent to the Log Server IP address specified on the Log Files tab.
Debug Messages. When turned on, writes debug messages to the log file.
Note: The Debug Messages option is resource intensive if you debug messages in IMAP4.
Verbose Logging. This option records more information than standard logging. It can create very large log files, however, is helpful in troubleshooting problems.
Default Mail Host. The name of the host to send mail to if only a user ID is specified in the mail message and that user ID is not found on the local system. Normally this field should be blank. This field can be useful when multiple systems are required to work as one system.
Domain Name Server address. The IP address of the system that provides domain name service for your network. You can enter multiple name servers here, separated by a space. This option is required in order to send mail externally.
Tries before returning to sender. Defines the number of times that delivery is attempted before giving up and returning the mail to the sender. Each time the Retry Timer (on the Queue Manager tab) reaches 0, a delivery attempt is made. Thus, if the Retry Timer is set to 30 (minutes) and you want to attempt delivery for up to 3 days, this field should contain 144. The default value is 20.
Null sender maximum tries. Enter the maximum number of times that IMail will attempt to deliver a message that has no sender (including postmaster messages). This value must be less than the value entered for "Tries before returning to sender". If the "Tries before returning to sender" value is less than the value entered here, the "Null sender maximum tries" option is not enforced.
Delete after maximum tries. Select this option to delete a mail message that has no sender if it fails to be delivered after the maximum number of tries.
Server Status. A status message to the left of the Start/Stop Service button shows whether or not the service is running.
Start/Stop Service. This button switches between Start and Stop depending on whether the service is running.
Using a Remote Mail Gateway
You can use the following Gateway Options to configure your mail server to use a remote mail gateway.
Remote Mail Gateway Host. The name of another host to send mail to for further delivery when that mail cannot be delivered directly to the destination host. This can be used in conjunction with the Send all remote mail through gateway option to force delivery of mail through the gateway host. Since IMail Server should be able to reach all hosts directly, this field should typically be blank.
Send all remote mail through gateway. Causes IMail Server to send all mail to the Remote Mail Gateway Host, which forwards it on to the addressee's mail host. If this option is not selected, IMail Server will send mail directly to the addressee's mail host.
Tries before sending to gateway. The number of times that delivery directly to a remote host should be attempted before giving up and delivering to the gateway host. Proper function of this value is dependent on the validity of the Remote Mail Gateway Host name and the Send all remote mail through gateway option.
Advanced Options
Several advanced options allow you to control the underlying functionality of the SMTP server. The default settings on this tab should be appropriate for most installations. However, if you need to change these settings, be aware that they can change the operation of the server.
Maximum recipients per message. The maximum number of addresses that can receive a single message. The default setting for this option is 0.
Delay between recipients. Sets a delay (in milliseconds) between the delivery of messages to recipients. The default setting for this option is 0.
Port. The port that the SMTP service listens on. The default port number is 25.
Maximum Processes. This is the number of simultaneous SMTP processes that IMail Server spawns. By default this option is set to 30. If you see heavy mail traffic or run several large list server mailing lists, you may want to increase this number. If you set this value too high, it can cause your server to malfunction.
Mailbox delimiter. Enter the character that will be used to delimit the mailbox name in a user ID. If nothing is entered here, the default delimiter of - (dash) will be used.
Note: Before changing the mailbox delimiter, check for existing usernames and aliases that currently contain the new delimiter character. Otherwise, these aliases or usernames will be delimited, which will cause their incoming mail to be undeliverable or delivered to another user whose username matches the portion of the address preceding the new delimiter.
Host delimiters. Enter the character or characters that you want to use to delimit the host name. Each character will be seen by IMail Server as equivalent to the @ in e-mail addresses. By default the characters used are: @ % * : $ and &. Any of these can be used between the user ID and the virtual host name in the POP3 or IMAP4 login user ID. To change these characters, enter the string of characters here.
Note: The @ character is required by Web Messaging.
Delivery Application. If you wish to replace the delivery application with an external program, enter the full pathname of the file in this text box.
Hello Message. You can use this box to change the text of the SMTP service welcome message. The text is limited to 400 characters or less. If over 400 characters are entered, the default message is used. To revert to the default message, clear this option.
Refuse NULL <> Senders. If enabled, IMail Server refuses to accept mail if there is no address specified in the MAIL FROM line of an incoming message (the null address (<>) is used). Allowing no address in the MAIL FROM line makes it easier for spam mailers to send bulk mail to your users. However, note that RFC 822 requires that mail servers accept mail that has no address in the FROM line.
Note that Microsoft Exchange uses the null address for messages from the postmaster, so selecting this option disables the ability of IMail Server users to receive mail from Exchange postmasters.
Disable SMTP 'AUTH' command. SMTP AUTH provides a means of authenticating the user ID and password of a user sending mail. This is handled transparently by the mail server and client. When the mail client connects to the mail server, the server tells the client the authorization methods it can use. The client then sends the user ID and password to the server, and the server verifies it.
|
Ipswitch, Inc. http://www.ipswitch.com |
| ©Ipswitch 2001 | |||