
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
For advanced
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
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,
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