|
|
Setting SMTP Security You can set who has access to your mail server and control SMTP security in several ways:
To set any of these options for the SMTP server:
Note: If you make changes to the IP addresses that can use the SMTP server, you must stop and restart the SMTP service for changes to take affect. You can use the Mail Relay Options to prevent unauthorized mailings, such as mass promotional mailings (known on the Internet as spam mail) from passing through the IMail Server as a relay or gateway. The Relay mail for option lets you configure IMail Server to only accept mail that originates from local users or that is destined for local users. You can define the systems or address blocks that you want to consider local. Relay mail for anyone Allows the SMTP server to accept mail destined for other hosts and redeliver that mail to the proper host (i.e, become a mail gateway). This is the default setting. Relay mail for Allows the SMTP server to accept mail destined for other hosts only if the mail is received from the specified IP addresses (which the mail server will consider to be local addresses). If you use this option, you need to specify any host that you receive mail for and you need to create a matching entry in the \winnt\sys-tem32\drivers\etc\hosts file. For example, if your DNS is set up to receive mail for a primary domain, mailer1.ipswitch.com, and also for another domain, mailer2.acme.com, the MX record will look like this:
To relay mail for the mailer2.acme.com domain, you need to specify its IP address in the Relay mail for option and also enter its hostname and IP address in the hosts file on your mail server. To specify the valid IP addresses, click the addresses button. The Access Control dialog box appears.
No Mail Relay The SMTP server will refuse to accept mail destined for other hosts. You can use the following options to set access to distribution lists (aliases of type List) on your mail server. (These options do not affect mailing lists created with the List server. Allow remote mail to local lists When selected, the SMTP server will accept mail addressed to an alias that was defined as a List alias and will resend the message to the list contents. Allow remote view of local lists When selected, the SMTP server will reveal the contents of a List alias in response to an EXPN SMTP command. You can use the following options to check that incoming mail was sent from a valid user mail account or to deny access to specified mail addresses. IMail Server will always include the IP address of the source of a message in the message header. Refuse NULL <> Senders If enabled, refuses to accept mail if the null address (<>) is specified in the MAIL FROM line of an incoming message. Note that Microsoft Exchange uses the null address for messages from the postmaster. Check valid sender If enabled, requires that the user mail address (user@host) is specified in the MAIL FROM line of an incoming mail message. Note that a null address (< >) in the MAIL FROM line is handled sepa-rately by enabling or disabling the Refuse NULL < > Senders option. Edit kill file The kill file lets you specify a mail address or a particular mail host that you do not want to accept mail from. To specify a mail address or host in the kill file, click the Edit kill file button. The file kill.lst appears in the Windows Notepad. In the kill.lst file, enter one entry per line in either of the following formats:
For example, to deny access from a user mail account, you could enter: fred@widget.com To deny access to all users from the mail host widget.com, you can enter: @widget.com. IMail Server checks the incoming messages MAIL FROM: <user@host> line. When it receives mail from an address listed in the kill file, IMail Server returns the message: 501 unacceptable mail addressThe kill.lst resides in the IMail directory and applies to the primary domain and all virtual domains. Setting Access to the SMTP Server You can specify an IP address or set of IP addresses that are either granted access to the SMTP server or denied access. Systems that do not have access to the SMTP server system will not be allowed to create a connection. This is useful when you know the IP address(es) of a mail sender that is making unauthorized use of your mail server. To deny access to a specific computer or group of computers:
To grant access to a specific computer or group of computers:
|
If you like this site, tell your friends. If not, e-mail us at support@texoma.net or call us at one of the following numbers between 9:00 a.m. and 9:00 p.m., 7 days a week.
All trademarks used are the property of their respective owners. |