SMTP Service Options
How to get here
- Click the tab, and the SMTP Settings page appears.
- Or Click the tab, then click link. The SMTP Settings page appears.
At the top of each Services page, the name of the Service, its Status (Running or Stopped), Start/Stop and Restart button appears. This allows you to Start, Stop, or Restart individual Services from your respective web pages, as well as from the page.
The processes all incoming and outgoing messages. Due to its openness, it is difficult to simultaneously block unwanted mail (spam) and keep your mail server available to its users. The following settings and options can be configured to help administer this protocol.
After making changes, click , and restart the service.
General Options
- Select one of the following from the drop down list:
- Selecting this option from the drop down list enables the SMTP server to refuse to accept mail destined for other hosts (any host not on the IMail Server), unless the user authenticates. Select this option if all of your users send and receive mail from the same host that IMail Server is on, or if they use web messaging to access mail. You will still receive mail for local users because a message destined for or originating from the IMail Server host does not use the relay function.
- Select this option from the drop down list to allow the SMTP server to transmit mail originating from local addresses and destined for other hosts. Likewise, the server will accept mail from other hosts that is destined for specified local addresses.
will be processed when an address exists in the .
- Relay for Local Users Only. Select this option from the drop down list to check the "From" address of incoming mail and verify that it contains a valid IMail Server host name, then checks the host for the user ID.
You can use the accept.txt file in conjunction with this option to make the IMail Server accept the named remote hosts and users as "local" hosts and users. If a user needs to use an alias for his/her e-mail address, the alias needs to be in the accept.txt file. You cannot use this option if you are using a "store and forward" setup to relay mail for another server. The accept.txt file is only used when the SMTP Relay Setting is set to Relay for Local.
- Select this option from the drop down list to check the "From" address of incoming mail to determine that it contains a valid IMail Server host name, then checks that host for the user ID. It does not check user aliases. If the host name or User ID is not valid, the server does not relay mail.
You can use the accept.txt file in conjunction with this option to make the IMail Server accept the named remote hosts and users as "local" hosts and users. If a user needs to use an alias for their e-mail address, the alias needs to be in the accept.txt file. You cannot use this option if you are using a "store and forward" setup to relay mail for another server. the accept.txt file is only used when the SMTP Relay Setting is set to Relay for Local.
- Select this option from the drop down list to allow the SMTP server to accept mail from any host that is destined for any other host, and redeliver that mail (i.e. become a mail gateway). This option is the least secure because it allows your server to be used by anyone to send mail to anyone. Some bulk mailers may take advantage of this capability to not only relay mail through your server, but to make it appear as if mail is originating from your server.
If you select this option for mail relay, your server may be blacklisted for running an open relay. To remedy this, you should choose to Relay Mail for Addresses.
SMTP/Queue Manager Log Settings
- . Select the file type from the drop down list, that you want to use for logging SMTP events:
- Selecting this option disables logging.
- Selecting this option causes all inbound and outbound mail to be logged in the file where MM is the month and DD is the day the log was written.
- Selecting this option causes messages to be sent to the log file specified on the Log Manager tab.
- Select the check box to write debug messages to the log file.
- Select the check box to record more information than in standard logging. This can create very large log files; however, this can be helpful in troubleshooting problems.
Important! Enabling SSL or TLS will only accept SSL and TLS connections. This will not initiate SSL and TLS connections.
IMail Server uses OpenSSL Command Line Tool (v0.9.8e) which supports up to 4096-bit RSA and 2048-bit DSA. OpenSSL is a cryptography toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) network protocols and related cryptography standards required by them.
- Select the check box to enable a dedicated port that accepts only SSL- encrypted connections from the SMTP service. You can change the default port used by the SSL Listener in the SSL port box.
- Enter the port used by the dedicated SSL Listener to accept connections. The default SMTP SSL port is 465; the valid range is from 1 - 32,000.
- Select the check box to enable the SMTP service to accept SSL/TLS connections over the SMTP port through use of the STARTTLS command.
Dictionary Attack Options
All settings related to Dictionary Attack blocking default to 0.
- Enter the maximum number of invalid recipients the server will accept before the session is dropped. An invalid recipient is an addressee that is not valid for that server when the client issues a RCPT to command.
- Enter the number of errors that may occur on a session before error responses are delayed.
- Enter the amount of errors that may occur on a session before the session is dropped and the IP address is added to the Control Access table.
- Enter the number of minutes to deny a sender access after a session is dropped.
- Enter the amount of time in seconds to delay error responses in the Soft Error Limits scenario.
Example of an error response:
'anyuser@anywhere.com' on 7/6/2005 11:59 AM
550 Connection denied after dictionary attack
Security Options
- Enter the full e-mail address to which you want to send a copy of each message. This option will not function unless the check box is selected.
- Select this check box to enable copying of all mail.
- Select this check box to allow the SMTP server to accept mail addressed to a group that has been defined using IMail Administrator. The SMTP server re-sends the message to users in the group. Use this option to set access to local mail groups (Local groups are aliases of type Group) on the mail server.
This option does not affect list-server mailing lists, standard aliases, or program aliases.
- Select this check box to require that the user's mail address (user@host) is specified in the MAIL FROM or REPLY-TO line of an incoming mail message.
- (Set by default) When checked it will assume that sending more than 512 characters in a command other than the SMTP DATA command is an attempt to "hack" into your server. The remote IP address will be temporarily placed into the "deny access" (Control Access) file, until the services are restarted.
Auto Deny with the use of will allow 1600 characters in a command other than the SMTP DATA command.
Sending between 512 and 1600 characters in a command will drop the connection. Over 1600 characters will be denied.
You will not see the address in the Control Access list, but it is reported in the log file.
- Select this check box to deny a remote host to test for valid user IDs. The SMTP VRFY command is used to verify a user ID on a host, and as such it can be used from a remote host to test for valid user IDs. Disabling the command helps prevent "spoofing" by not allowing someone outside your network to check if a user ID is valid.
If you select this option when IMail Server receives an SMTP VRFY request, it returns the message: 502 Command not implemented.
If you disable the SMTP VRFY command, when IMail Server receives an SMTP VRFY request, it will return the message: 502 Command not implemented
When using peer servers, do not select Disable SMTP "VRFY" Command. A peer server needs to use this command to verify a user that is on the other peer. See Setting Up Peering for more information.
- . This setting when set will force encryption authentication when logging in to SMTP services.
CRAM-MD5 Authentication only functions when using an IMail User Database. CRAM-MD5 Authentication is currently not supported for user databases with Active Directory or ODBC.
Advanced Options
The default advanced settings should be appropriate for most installations. If you need to change these settings, be aware that they can change the operation of the server.
- Enter the maximum number of addresses that can receive a single message. The default is 0.
Max Recipients Per Message option does not apply to authenticated users.
- Sets a delay (Milliseconds), between message recipients, for relayed external mail. This prevents spammers from consuming all of the CPU time. However, the setting slows mail server performance. The default is 0.
- To change the default characters, enter the character(s) to use to delimit the host name. Each character is seen by IMail Server as equivalent to the @ in e-mail addresses. Any of the defaults can be used between the user ID and the virtual host name in the POP3 or IMAP4 login user ID. By default, the characters used are: @ % * : $ and &.
Be sure to (host delimiters are cached for web services), SMTP, and Queue Manager Services.
IMail Web Messaging requires the @ character for the host delimiter.
- Enter the character that will be used to delimit the mailbox name in a user ID. If nothing is entered, the default delimiter is - (dash).
- Enter the maximum number of connections handled by the SMTP Service. Use the default of 0 (zero) for an unlimited number of connections.
- Enter the port that the SMTP service listens on. The default SMTP port is 25. The valid range is from 0-32000.
If you update the port here, it will automatically update in the Client as well.
- To change the SMTP service welcome message, enter the new message in this text box. 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, delete the custom message text from the box.
- To replace the mail delivery application with an external program, enter the full pathname of the file in this text box.
- Select to enable an extra port.
- If you've chosen to enable an extra port, enter its number here.
- Select this check box to force SMTP authorization on an extra configured port.
- Select this check box to disable SMTP authentication. 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 them. If a user issues the AUTH command when Disable SMTP AUTH is selected, SMTPD responds with the "502 command not implemented" message.
- Select this check box if you want to have IMail Server listen on all available IP addresses and configured ports on the server.
Click to save your settings.
Related Topics
Control Access
Kill File
Accept List
White List
SMTP Delivery Application Utility
Supported SMTP RFCs