Teching bogofilter by forwarding messages

Michal Wieja mwieja at poczta.onet.pl
Fri Dec 19 16:55:03 CET 2003


On Friday 19 December 2003 13:53, Stroller wrote:
> 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.

Problem is that users have only pop3 accounts, and they collect their e-mails 
on their own machines, I've been trying to convince them to use imap (would 
be much more easier for me), but it's hard to change people's habits.

--
Michal Wieja





More information about the Bogofilter mailing list