Setting IMail SMTP Options
How to get here
At the top of each Services page, the name of the Service A service is a formal Windows NT/2000 term for an executable object installed in a registry database maintained by NT/2000's Service Control Manager. A service can be automatically started when the system is booted and continues to run until the system is shut down. It will continue to run even when no one is logged on the system. In IMail, you can also stop, start, and restart services separately from their respective administrative pages. , its Status (Running or Stopped), and a Start/Stop button appears. This allows you to Start or Stop individual Services from your respective web pages, as well as from the page.
The SMTP service 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 you administer the protocol:
Mail Relay Settings Electronic junk mail or junk newsgroup postings. Some people define spam even more generally as any unsolicited email. However, if a long-lost brother finds your email address and sends you a message, this could hardly be called spam, even though it's unsolicited. Real spam is generally advertising for some product sent to a mailing list or newsgroup, and not only wastes people's time with unwanted email, but consumes a lot of bandwidth.
Gateway Options Electronic junk mail or junk newsgroup postings. Some people define spam even more generally as any unsolicited email. However, if a long-lost brother finds your email address and sends you a message, this could hardly be called spam, even though it's unsolicited. Real spam is generally advertising for some product sent to a mailing list or newsgroup, and not only wastes people's time with unwanted email, but consumes a lot of bandwidth.
SSL Settings Electronic junk mail or junk newsgroup postings. Some people define spam even more generally as any unsolicited email. However, if a long-lost brother finds your email address and sends you a message, this could hardly be called spam, even though it's unsolicited. Real spam is generally advertising for some product sent to a mailing list or newsgroup, and not only wastes people's time with unwanted email, but consumes a lot of bandwidth.
Dictionary Attack Options Electronic junk mail or junk newsgroup postings. Some people define spam even more generally as any unsolicited email. However, if a long-lost brother finds your email address and sends you a message, this could hardly be called spam, even though it's unsolicited. Real spam is generally advertising for some product sent to a mailing list or newsgroup, and not only wastes people's time with unwanted email, but consumes a lot of bandwidth.
Security Options Electronic junk mail or junk newsgroup postings. Some people define spam even more generally as any unsolicited email. However, if a long-lost brother finds your email address and sends you a message, this could hardly be called spam, even though it's unsolicited. Real spam is generally advertising for some product sent to a mailing list or newsgroup, and not only wastes people's time with unwanted email, but consumes a lot of bandwidth.
Advanced Options Electronic junk mail or junk newsgroup postings. Some people define spam even more generally as any unsolicited email. However, if a long-lost brother finds your email address and sends you a message, this could hardly be called spam, even though it's unsolicited. Real spam is generally advertising for some product sent to a mailing list or newsgroup, and not only wastes people's time with unwanted email, but consumes a lot of bandwidth.
After making changes, click . Stop the service, wait 5-10 seconds and restart the service.
- Select one of the following from the list box:
- Select this option from the list box 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.
- Select this option from the list box 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.
- This button is enabled when Relay Mail for Addresses (above) is selected. Click the Addresses button. The Relay Mail for Addresses page appears.
- Selecting this option from the list box 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 list box 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 email 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 list box 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 email 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.
- . Enter the amount of times that delivery is attempted before returning the mail to the sender. Each time the Retry Timer (on the Queue Manager Settings page) 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. We recommend a value of 20.
- . Enter the maximum number of times that IMail attempts to deliver a message that has no sender (including postmaster messages). This value must be less than the value entered for above. If the value is less than the value entered here, the option is not enforced.
- . Enter the name or IP address of the domain 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.
- . Enter the IP address of the system that provides domain name service for your network. You can enter multiple names here, separated by a space. This option is required in order to send mail externally.
- . Select the file, from the list box, that you want to use for logging SMTP events:
- 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 disables logging.
- Selecting this option causes inbound mail to be logged in the Application Log, which is viewed with the Windows Event Viewer.
- 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.
Gateway Options
- Enter the name of another domain 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 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.
- Enter 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 option.
- Selecting this check box causes IMail Server to send all mail to the Remote Mail Gateway Host above, 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.
SSL Settings
- 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.
Security Options
- Enter the full email 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.
- Select this check box to let the SMTP server allow a remote host to execute an SMTP "EXPN" command to show all users in a group defined by using IMail Administrator.
- 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.
- Select this check box if more than 512 characters are sent during anything but the SMTP DATA command to temporarily put the sender's remote IP address in the "deny access" (Control Access) file until you stop and restart t
he service.
Sending more than 512 characters in anything but the SMTP DATA command looks like an attempt to hack into your server. 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. If you select this option when IMail Server receives an SMTP VRFY request, it returns the message:
502 Command not implemented.
Do not select Disable SMTP "VRFY" Command when using "peer" IMail Servers. 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.
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.
- Click the button to show or hide the Advanced Options for SMTP Settings.
- Enter the maximum number of addresses that can receive a single message. The default is 0.
- Enter the minimum number of worker threads that the SMTPD thread Threads are one way for a program to split itself into two or more simultaneously running tasks. Many operating systems, programming languages, and other software development environments support what are called "threads" of execution. Threads are similar to processes, in that both represent a single sequence of instructions executed in parallel with other sequences. (The name "thread" is analogous to the way that a number of threads are interwoven to make a piece of fabric). pool makes available for client requests. Adjust the setting based upon the server capabilities and the processing demands on your server. For example, a powerful server that is normally busy might use a setting greater than 2, whereas a low end server that is not too busy might use a setting of 2. The default SMTP min threads is 2. The valid range is from 2-8.
- Sets a delay (in 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.
- Enter the maximum number of worker threads that the SMTPD thread pool makes available for client requests. Adjust the setting based upon the server capabilities and the processing demands on your server. For example, a powerful server that is normally busy might use a setting greater than 10, whereas a low end server that is not too busy might use a setting of 10. The default SMTP max threads is 60. The valid range is from 10-200.
- 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 email addresses. Any of the defaults can be used between the user ID and the virtual host Often abbreviated vhost, a virtual host is a provider of Web services that include server functions and Internet connection services, often used by companies or individuals who do not want to purchase and maintain their own Web servers and Internet connections. A virtual host will provide its customers with domain name registration, file storage and directory services for the files that Web pages are built from, email services and even Web site design and creation services if the customers want someone else to build their Web sites. name in the POP3 Post Office Protocol, version 3, is the most common protocol for communicating with a mail server, otherwise known as a post office, to retrieve messages for a user. Since POP3 servers are always available to receive incoming mail, individual users do not have to have their PCs turned on at all times. POP3 servers hold mail for users until they connect to download their messages. or IMAP4 login user ID. By default, the characters used are: @ % * : $ and &.
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.
- Enter the name you wish to use for outgoing communications with the recipient.
- 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. An "Update Successful" message and the time of the update appears.
Related Topics
Control Access
Kill File
Accept List
SMTP Delivery Application
Supported SMTP RFCs