Mail accepted for local delivery is queued until POP or IMAP services are enabled, delivery to /var/mail/ is enabled, or the message expires and a Non Delivery Receipt (NDR) is sent to the sender (after 72 hours by default).
If delivery to /var/mail/ is enabled, users can still access mail using UNIX mail tools such as PINE or ELM. Messages delivered to /var/mail/ are not available for delivery to users with Dovecot if POP or IMAP are enabled again.
If POP and IMAP are disabled, you can change where incoming mail is stored from its default location at /var/spool/imap/dovecot/mail/GUIDto /var/mail/GUID.
To change the local delivery directory:
1In Server Admin, select a computer in the Servers list, then select Mail.
2Click Settings.
3Select the General tab.
4Click the “Deliver to /var/mail/” checkbox.
5Click Save.
Restricting SMTP Relay
Your Mail service can restrict SMTP relay by allowing only approved hosts to relay mail. You create the list of approved servers.
Approved hosts can relay through Mail service without authenticating. Servers not on the list cannot relay mail through Mail service unless they authenticate first. All hosts, approved or not, can deliver mail to your local mail users without authenticating.
Mail service can log connection attempts made by hosts not on your approved list.
To restrict SMTP relay:
1In Server Admin, select a computer in the Servers list, then select Mail.
2Click Settings.
3Select the Relay tab.
4Click the “Accept SMTP relays only from these hosts and networks” checkbox.
5Edit the list of hosts by choosing one of the following: ÂÂ Click the Add (+) button to add a host to the list.
ÂÂ Click the Remove
When adding to the list, Server Admin accepts a variety of notations. You can:
ÂÂ Enter a single IP address or the network/netmask pattern, such as 192.168.40.0/21.
ÂÂ Enter a host name, such as mail.example.com.
ÂÂ Enter an Internet domain name, such as example.com.
Chapter 2 Mail Service Setup
31