Jesus Vigo explains how to set up the Mail service on OS X Server and configure server-side settings for email security and hygiene.

Email. The ubiquitous mass communication medium that’s used the world over for relaying important information and staying in touch with contacts. It’s the lifeblood of an organization and generally regarded as an essential business tool. Make no mistake… email is serious business!
And managing email services can be difficult considering the multitude of pressures stemming from keeping services available for mission-critical uses, balancing resources on the server(s), protecting the integrity of messages from malware and unauthorized access, not to mention keeping the various component services and protocols working smoothly like a well-oiled machine.
While some email servers offer much more control or better integration with other domain services in use within a company, Mail from OS X Server is as simple to set up and easy to manage as one has come to expect from an Apple application.
Prior to getting into the setup and configuration of the Mail service, let’s take a moment to review the necessary requirements:
While some of the above requirements are indeed optional, in most cases, they address key issues for ensuring the availability and integrity of messages as they travel to and from server and endpoint. Once the requirements have been met, we can proceed to set up the Mail server. Follow these steps:







Once the Mail service is enabled, adding users (and their mailboxes) can be performed from the Users pane under Accounts in the navigation pane. Additionally, OS X Server can be configured for other communication services, such as Messages instant messaging or collaborative services like unified contacts and calendars.
Configuration of mail clients must be done on the devices themselves, since OS X Server does not natively support webmail. However, utilizing the websites service and the 3rd-party open-source Roundcube, OS X Server may be configured to host its own webmail service that ties into the OS X Server Mail backend.
I have two final pieces of advice to take into account when administratively managing an email server. One, backup, backup, backup! Email is stored in mailboxes on the server and should be backed up regularly. Since Time Machine services are also included in OS X Server, this provides a great way to backup the Mail and server itself — and makes for a very easy restore process if the server encounters issues. Two, be vigilant and monitor the mail server’s resources carefully. As the level of users increases, the available storage space can decrease exponentially due to overuse and abuse — not to mention exceeding bandwidth usage by sending large attachments and sapping the server of important memory and CPU cycles. Using the Stats pane will give the sysadmin a good overview of the daily usage cycles and their impact on server-side resources.
What other tips and tricks would you recommend for setting up the Mail service in OS X? Share your expertise in the discussion thread below.