Viewing Mail Service Settings from the Command Line

To view Mail service configuration settings:

$ sudo serveradmin settings mail

To view a specific setting:

$ sudo serveradmin settings mail:setting

To view a group of settings:

You can view a group of settings that have part of their names in common by entering as much of the name as you want, stopping at a colon (:), and entering an asterisk (*) as a wildcard for the remaining parts of the name. For example:

$ sudo serveradmin settings mail:imap:*

General Setup

This section discusses basic configuration settings you make to use Mail service.

Configuring Outgoing Mail Service

Mail service includes an SMTP service for sending mail. Subject to restrictions that you control, the SMTP service also transfers mail to and from Mail service on other servers.

If your mail users send messages to another Internet domain, your SMTP service delivers the outgoing messages to the other domain’s Mail service. Other Mail services deliver messages for your mail users to your SMTP service, which then transfers the messages to your POP service and IMAP service.

Understanding SMTP Authentication

If you don’t choose a method of SMTP authentication or authorized specific SMTP servers to relay for, the SMTP server allow anonymous SMTP mail relay and is considered an open relay. Open relays are bad because junk mail senders can exploit the relay to hide their identities and send illegal junk mail without penalty.

There is a difference between relaying mail and accepting delivery of mail. Relaying mail means passing mail from one (possibly external) mail server or a local user’s mail client to another (third) mail server. Accepting delivery means receiving mail from a (possibly external) mail server to be delivered to the server’s mail users. Mail addressed to local recipients is still accepted and delivered.

Enabling authentication for SMTP requires authentication from any selected authentication method prior to relaying mail.

SMTP Authentication is used with restricted SMTP mail transfer to limit junk mail propagation. For more information about these settings, see “Understanding SMTP Authentication” on page 26.

26

Chapter 2    Mail Service Setup

Page 26
Image 26
Apple 10.6 manual General Setup, Viewing Mail Service Settings from the Command Line, Configuring Outgoing Mail Service