This is a rather extensive article describing the configuration of a high performance Mail server for Small and Medium businesses, with a focus on security, mail retention and accessibility though IMAP and webmail.
This setup will work on most -if not all- linux distributions without major change and the instructions should work out-of-the-box on all recent RedHat derived systems: RedHat Linux, CentOS and Fedora.
You can view the article as a single long page or as a series of smaller articles describing each steps to perform :
- Preparation : description of objectives, assumptions and installation
- Users : how users are configured
- Postfix : using Postfix as the Mail Transport Agent (MTA)
- Dovecot : using Dovecot for high performance POP/IMAP access
- AmavisdNew : setting up filtering
- ClamAV : setting up the automated antivirus system
- SpamAssassin : filtering out spam
- PostGrey : further spam defence
- RoundCube : accessing email from the web
- Firewall : proper setup for your firewall
- SecureAccess : using SSL to encrypt email communications
- AlternateAccess : circumventing ports blocking by ISPs
- MboxMaildirMigration : migrating your old mailboxes to the new system
- TroubleShooting : a few tests and tips to help troubleshooting.
- AWStats : mail log analysis and statistics
I hope you will find these helpfull. Let me know if they helped or if you have any comments: or just leave your comments in the comment boxes at the bottom of each article.
You will find relevant resources in each article above. The following resources are more wide-ranging and are excellent articles to use as references.
- How to install Postfix, Amavisd-new, SpamAssassin, Pyzor, Razor, DCC, and ClamAV on Fedora Core 4 - v2.1.1
- ISP-style Email Service with Debian-Sarge and Postfix 2.1
- List of email related IETF technologies and their implementations, such as SASL
- Postfix SMTP AUTH (and TLS) HOWTO
- Gmail on Home Linux Box using Postfix and Fetchmail (Using SASL and TLS)
- The update for Fedora Core 5 is available as a single long page.
- The original article written for Fedora Core 4 is available as a single long page.
- 03DEC2008 Created archive for Fedora Core 5 and started updating for'recent distros.
- 23MAY2006 Added sections Firewall, SecureAccess and AlternateAccess.
- 21DEC2005 Fixed layout issues with the single long page version of this article.
- 20DEC2005 Added section on Baysian filtering in SpamAssassin
- 02DEC2005 Added SpamAssassinImproved
- 22DEC2005 Added AWStats
- 14JUL2005 Original version