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 draft Email Services lecture notes

Spammer Sentenced to Nine Years


Email software and Information Links

Courier-IMAP

Cyrus IMAP Server

ExchangeMail Open Source Backends for Unix/Linux

The IMAP Connection

Postfix Home

Sendmail Home

SquirrelMail - Webmail for Nuts!

Apache Web Server

ntp.org: 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

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)

GreyListing.org

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 9

/etc/hosts

/etc/resolv.conf

/etc/sysconfig/network

/etc/sysconfig/network-scripts/ifcfg-eth0


/etc/named.conf (for wpserver)

/etc/named.conf

/var/named/kaos.zone

/var/named/kaos-rev.zone


/etc/sysconfig/iptables

/etc/hosts.allow

/etc/hosts.deny


/etc/amavisd.conf

/etc/logrotate.d/amavisd

~/.spamassassin/user_prefs.cf

/etc/logrotate.d/clamav

/etc/logrotate.d/freshclam

/etc/clamd.conf

/etc/freshclam.conf

/etc/cron.daily/freshclam

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

/etc/imapd.conf


/etc/postfix/main.cf

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

/etc/postfix/master.cf

/etc/postfix/relocated

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

/etc/postfix/virtual

[postfix-policy for SPF checking]


sample-spam.txt

sample-spam2.txt

/etc/yum.conf

/etc/cyrus.conf

Apache (httpd) Configuration