Managing the Mail Service

Mac OS X Server ships with some powerful tools to help administer you mail service. The following sections describe basic mail service functions.

Starting and Stopping Mail Service

To start mail service:

$ sudo serveradmin start mail

To stop mail service:

$ sudo serveradmin stop mail

Checking the Status of Mail Service

To see summary status of mail service:

$ sudo serveradmin status mail

To see detailed status of mail service:

$ sudo serveradmin fullstatus mail

Viewing Mail Service Settings

To list mail service configuration settings:

$ sudo serveradmin settings mail

To list a particular setting:

$ sudo serveradmin settings mail:setting

To list a group of settings:

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

$ sudo serveradmin settings mail:imap:*

Changing Mail Service Settings

You can use serveradmin to modify your server’s mail configuration. However, if you want to work with the mail service from the command line, you’ll probably find it more straightforward to work directly with the underlying Postfix and Cyrus agents.

For more information about these agents:

ÂSee www.postfix.org for information about Postfix.

ÂSee asg.web.cmu.edu/cyrus for information about Cyrus IMAP/POP.

Chapter 12 Working with the Mail Service

181

Page 181
Image 181
Apple Mac OS X Server Managing the Mail Service, Starting and Stopping Mail Service, Checking the Status of Mail Service