Teching bogofilter by forwarding messages
Stroller
Linux.Luser at myrealbox.com
Fri Dec 19 13:53:37 CET 2003
On Dec 18, 2003, at 8:32 pm, Michal Wieja wrote:
> I have one smtp/pop3 server with over 200 user on it. I'm using
> bogofilter to
> mark e-mails subject line if they are considered spam. I use [SPAM] and
> [UNSURE] tags.
> I have asked users to do following:
>
> if e-mail is spam, and it wasn't marked as [SPAM] please forward it
> to:
> message-is-spam@ e-mail address...
I recently wrote a script to automatically train bogofilter from a cron
job - multiple users were a consideration.
Tell me - do your users not have centralised mail-storage..?
I use courier-imap & maildirs, and if I were implementing this I would
just give each user a Spam/Definite folder & a Spam/Probable folder,
then tell them to drag & drop all spam into their "definite" folder to
confirm it. I think you can then have a periodic cron job to
`bogofilter -s /home/*/.Maildir/.Junk.Definite/cur/* && mv
/home/*/.Maildir/.Junk.Definite/cur/*
/some/trash/dir/to/be/cleaned/out/later/`. Personally, I find this more
elegant than
Likewise, bogofilter can be taught ham by using the time functionality
built into find to parse for only new messages in users' "Saved Items"
folders. I think if you take a look at the script at
<http://article.gmane.org/gmane.mail.bogofilter.general/5935> you
should be able to implement this in no time.
HTH,
Stroller.
More information about the Bogofilter
mailing list