Revantine's eMail Adventure

From LinuxNewbie

This is the story of a 5 day mission to boldly mail where spammers have gone before...

I already use ldap for authentication. My last Windows server exists for the sole purpose of email, and so I have strived to setup email on a linux server.

To qualify I wanted onsite and offsite ability to send email, ldap integration for the user settings, virtual domains with no system accounts. The software I used is:

  • OpenLDAP
  • Postfix
  • Courier-IMAP
  • Courier-POP3
  • smtp-auth
  • apache-ssl
  • SquirralMail
  • ClamAV (Anti-Virus)
  • SpamAssassin
  • Amavis-new (to facilitate ClamAV and SA)


I used information from:
Postfix docs (specifically LDAP): http://www.postfix.org/documentation.html
Postfix+Courier+LDAP: http://jeroen.protheus.com/postfix-courier-ldap-howto.html

Some info at this site is outdated. The ldap configs are in seperate files now, and the new way is easier.

amavis+spamassassin+clamav: http://www.fatofthelan.com/articles/articles.php?pid=22

I also used the ssl-certificates HOWTO at http://tldp.org to create a certificate authority and certificate for apache-ssl.

Since the server is Debian I retrieved all packages with apt. I am not going to attempt to explain compiling and configuration or installing another distro because it is easier for you to go get Debian.