Administering Mail Service

You must turn on Mail service administration before you can use Server Admin to configure or enable it. This allows Server Admin to start, stop, and change settings for Mail service.

To enable Mail Service for administration:

1Open Server Admin.

2Select a server, click the Settings button in the toolbar, and then click the Services tab.

3Select the checkbox for Mail service.

You can now configure and control Mail service using Server Admin.

You can also configure and control Mail service from the command line using the serveradmin command-line tool. For more information, see the serveradmin man page and Introduction to Command-Line Administration.

For advanced command-line configuration and maintenance, you may need to enable a specific mail administration account. For more information, see “Creating an Administration Account” on page 85.

Changing Mail Service Settings

Most settings are exposed in Server Admin and Workgroup Manager and can be changed in those applications. If you make a change, you may need to stop and restart the Mail service.

Many settings can also be accessed through the serveradmin command-line tool.

To change Mail service settings from the command line:

Find the name of the specific setting you need to change and then submit your setting as an argument to serveradmin. For example, to disable POP email service:

$ sudo serveradmin settings mail:imap:enable_pop = no $ sudo serveradmin stop mail

$ sudo serveradmin start mail

To see all possible commands, see Appendix A, “Command-Line Parameters for the serveradmin Tool and Default Mail Service Settings,” on page 94.

For more specific configuration of Postfix and Dovecot you might want to configure them directly. For information about configuring these tools, see the following:

ÂÂ For Postfix, see www.postfix.org.

ÂÂ For Dovecot IMAP/POP, see www.dovecot.org.

Chapter 2    Mail Service Setup

25

Page 25
Image 25
Apple 10.6 manual Administering Mail Service, Changing Mail Service Settings, To enable Mail Service for administration