[ILUG] Eircom spam

Timothy Murphy gayleard at eircom.net
Sun Oct 25 13:47:42 GMT 2009


On Sunday 25 October 2009 13:16:02 FRLinux wrote:

> > For some reason SpamAssassin does not seem very good
> > at catching this stuff, even though I feed it to SA every day.
> 
> Hello, care to explain to us how you feed it? (commands, etc...)

I save the spam in a Spam folder, and run the following cron job daily:
---------------------------------------------------------------
[tim at helen cron.daily]$ cat sa-learn
#!/bin/sh

/usr/bin/sa-learn --spam /home/tim/Maildir/.Spam/cur
/bin/rm -f /home/tim/Maildir/.Spam/cur/*
---------------------------------------------------------------

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland



More information about the ILUG mailing list