Apple 10.6 Server User Manual


 
Chapter 2 Mail Service Setup 31
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:
1 In Server Admin, select a computer in the Servers list, then select Mail.
2 Click Settings.
3 Select the General tab.
4 Click the “Deliver to /var/mail/” checkbox.
5 Click 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 rst. 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:
1 In Server Admin, select a computer in the Servers list, then select Mail.
2 Click Settings.
3 Select the Relay tab.
4 Click the “Accept SMTP relays only from these hosts and networks” checkbox.
5 Edit the list of hosts by choosing one of the following:
Click the Add (+) button to add a host to the list. Â
Click the Remove (-) button to delete the selected host from the list. Â
Click the Edit (/) button to change the selected host from the list. Â
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. Â