[ALUG] Email server and spam filtering
mephi
matthew.j.green at ntlworld.com
Sat Jul 28 12:04:22 BST 2007
Ok, I think I've got it working like this:
Getmail > Spamassassin > Dovecot(Imap)
But I need to wait for some spam to come in so I can start training
Spamassassin.
It's odd, I've never wanted spam before...
I think that Spamassassin just labels spam, so once I'm happy that I've got
that working, I'll pull in procmail to move it to the junkmail folder.
Matt
-----Original Message-----
From: sagr [mailto:alug1 at suffolk-ancestor-genealogy-research.co.uk]
Sent: 28 July 2007 07:13
To: mephi
Cc: main at lists.alug.org.uk
Subject: Re: [ALUG] Email server and spam filtering
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