If the service is running, click Stop Mail.
From the command line:
Start and stop the Mail service using the serveradmin command. mm To start the Mail service:
sudo serveradmin start mail
mm To stop the Mail service:
sudo serveradmin stop mail
If you plan to turn off Mail service for an extended period of time, notify users before you stop the service.
You can determine whether your Mail service is running via ssh or using Terminal by typing sudo serveradmin status mail.
Reloading Mail Service
Sometimes it’s necessary to reload the mail server for Mail service setting changes to take effect (for example, after restoring from backup, or altering the alias file). Reloading Mail service can be done without interrupting current Mail service.
To reload Mail service from the command line:
$ sudo postfix reload
Holding Outbound Mail
You can prevent Mail service from sending outgoing mail. You might do this to isolate a problem or to prevent conflicts with another Mail service running on your network. You might also do this to stop virus propagation or a spam relay originating with your server.
Holding mail isn’t the same as disabling SMTP service. Disabling prevents user connections from sending outgoing mail, but holding queues the mail for later sending. Mail is held in the outbound mail queue for inspection or deletion until you stop the hold.
To hold outbound mail:
1In Server Admin, select a computer in the Servers list, then select Mail.
2Click Settings.
3Select the General tab.
4Click Hold Outbound Mail.
5Click Save.
84
Chapter 4 Monitoring and Maintaining Mail Service