Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to set up an email server with the following characteristics. What software (besides bogofilter and clamav that I'm naming) should I use and what HOWTOs should I read?

  • The server should run some flavor of Linux that's as low-maintenance as possible and self-updates for security patches in a timely fashion. (Debian stable?)
  • When email is sent, all the recipients are stored in the list of previous recipients maintained by the server.
  • Scan incoming messages with clamav and treat as spam if it contains viruses.
  • When email arrives (if it passed clamav), if the sender is on the list of previous recipients, bypass spam filter.
  • If the List-Id header names a mailing list on a manually maintained list of known-clean mailing lists, bypass spam filter and deliver into a mailbox depending on the mailing list name.
  • Email that wasn't from previous recipients, manually white listed domains or mailing lists gets filtered by bogofilter. Spam goes into a spam mailbox.
  • Email considered to be ham should automatically be fed to bogofilter training as ham.
  • Email considered to be spam (incl. messages with viruses) should be automatically fed to bogofilter training as spam.
  • There should be mailboxes for false ham and false spam that an IMAP client can move email into so that the server retrains bogofilter appropriately.
  • Email sending requires SMTP over SSL.
  • Email reading requires IMAPS.

Should I also want to use SpamAssassin in addition to bogofilter?

share|improve this question
up vote 1 down vote accepted

Hi take a look at this and see if it is what you are after:

share|improve this answer
Thanks. That looks pretty close to what I want. – hsivonen Feb 26 '11 at 20:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.