[ALUG] Email server and spam filtering

sagr alug1 at suffolk-ancestor-genealogy-research.co.uk
Sat Jul 28 07:12:38 BST 2007


On Fri, 2007-07-27 at 15:16 +0100, mephi wrote: 
> What I want is a server side spam filter in there, has anyone done anything
> like this?

Hi Matt,

As you have probably gathered; I don't have much of a clue about Linux
but if it is any help the ancient mail server I am trying to update used
the old fashioned:

fetchmail -> procmail -> spamassassin -> imap

chain to retrieve emails from various ISP POP mailboxes, filter them for
spam, and make them available to endusers via imap.

You can read about procmail here:
http://userpages.umbc.edu/~ian/procmail.html

and spamassasin here:
http://spamassassin.apache.org/

The two critical config files, in my case, are the ".procmailrc" and
".spamassassin/user_prefs" files in each users home directory.

You can take a peek at my own ".procmailrc" file by looking here:
http://www.suffolk-ancestor-genealogy-research.co.uk/alug/procmailrc.txt

and you can take a peek at my own ".spamassassin/user_prefs" file by
looking here:
http://www.suffolk-ancestor-genealogy-research.co.uk/alug/user_prefs.txt

Bearing in mind I was told me off by various ALUGers for using Debian
3.0 on our samba server I won't mention that our mailserver is running a
older version than that... so I expect there are much more modern
alternatives to procmail + spamassassin these days... but this very
simple combination works ok for us.

Have fun!

Sagr.




More information about the main mailing list