Email Service Design and Sample Configuration Files

Sample configurations and resources for: DNS, SpamAssassin, ClamAV, Amavis, SASL, Postfix, and IMAP/POP

An Email Tutorial and Study Guide

Prof. Pollock's email services lecture notes

HCC's email storage policies

Spammer Sentenced to Nine Years

Email troubleshooting story (funny)

See HEC Montréal: Deployment of a Large-Scale Mail Installation for a Linux Journal 2004 article on a large organization email service design and implementation, using Postfix.  “During a typical day, HEC Montréal receives over 125,000 e-mails ...  About 300,000 POP3 connections (from 5,500 different users) and 60,000 IMAP connections (from 5,000 different users) are initiated every day ...  Peaks of 225 concurrent IMAP connections and 50 concurrent POP3 connections frequently are encountered.”

Email software and Information Links


Cyrus IMAP Server

ExchangeMail Open Source Backends for Unix/Linux

The IMAP Connection

Postfix Home

Sendmail Home

SquirrelMail - Webmail for Nuts!

Apache Web Server Home of the Network Time Protocol

RFC 1939: Post Office Protocol - Version 3

RFC 2821: Simple Mail Transfer Protocol

RFC 3501: Internet Message Access Protocol - Version 4rev1

DNS Related Links

Sender Policy Framework

how-to-setup-dmarc-guide.pdf from DigiCert

Sender Policy Framework (SPF) record lookup - MXToolBox

DNS Reports

DNS Stuff: DNS tools, WHOIS, tracert, ping, and other network tools.

RFC 2606, Reserved Top Level DNS Names

Spam, Virus, and Security Related Links

The Rise of Reputations in the Fight Against Spam @ LinuxWorld (article from LinuxWorld Magazine)

Aspen (SPF reputation system)

DomainKeys (Yahoo reputation system)

GOSSiP (Reputation system)

AMaViS - A Mail Virus Scanner

ClamAV Project

SpamAssassin Home

Vipul's Razor

eicar - European Institute for Computer Anti-Virus Research

CAcert Inc.: The Free Community Digital Certificate Authority

Filtering Spam With Postfix article (from Free Software Magazine)

Mail Abuse Prevention System (MAPS)

RFC 1321, The MD5 Message-Digest Algorithm

SASL: Simple Authentication and Security Layer (Cyrus)

RFC 2222, Simple Authentication and Security Layer (SASL)

TLS Configuration for Postfix and Cyrus-imapd

Postfix + SASL How-To     (See also Quick Certs at the same site)

Sample Configuration Files

Email Setup session typescript on Fedora





/etc/named.conf (for wpserver)















/etc/dovecot.conf - Basic Changes (diff) including Maildir Support



/etc/postfix/ - Basic Changes (diff) including Maildir Support



/etc/postfix/aliases (or /etc/aliases)


[postfix-policy for SPF checking]





Apache (httpd) Configuration

/etc/httpd/conf/httpd.conf - Basic Changes (diff)

squirrelmail.conf (Apache Squirrelmail config file, in /etc/httpd/conf.d/)