[Sderby] Spamassassin

David Robson rob at colournet.org
Sat Jul 23 08:21:00 BST 2005


On Thursday 21 July 2005 17:14, slh at f2s.com wrote:
> Hi All
> time to blow the cobwebs off this mailing list
>
> Spamassassin
> I know people use it, but how exactly?
> I've got it set up, and it appears to be scanning mail, adding stuff in
> the headers, that wort of thing.
> But once its been flagged as spam, what do you do with it?
> do you just kill it? or dump it in a folder somewhere for later perusal
> i intend to keep all mine, only at first, so i have a pile to help SA
> learn, and also to make sure its not getting any legit emails
>
>
> TIA
> Ian

Hey,

I push all my mail through procmail after its been through spamassassin just 
to pre-sort it into nice folders for when my client connects (only really 
seems like a useful idea for imap :)).  I use the following entry 
in .procmailrc for spamassassin stuff:

MAILDIR=/home/rob/mail
WHITE_SPAMBOX=Trash

:0
* ^X-Spam-Status: Yes
$WHITE_SPAMBOX

This automatically moves all my incoming mail which was marked as spam into my 
Trash folder, so even if i happen to be using a crappy client which cant 
filter on mail headers, it doesnt matter.

Instead of procmail, you could always just tell your client to filter on the 
X-Spam-Status mail header, or you can have spamassassin alter the subject of 
the incoming mail (i think).

Good luck ;)

-- 
Rob

GnuPG key: 1024D/309586CA
Fingerprint: 952A 4EB9 CC81 F30A 35CF  D473 BF12 FD80 3095 86CA
Key available at http://pgp.mit.edu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mailman.lug.org.uk/pipermail/sderby/attachments/20050723/8df66baa/attachment.bin


More information about the Sderby mailing list