[imp] spam report to folder

dhottinger at harrisonburg.k12.va.us dhottinger at harrisonburg.k12.va.us
Sun Nov 25 13:17:36 UTC 2007


Quoting tonio <tonio at starbridge.org>:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
> i'm wonder how to use 'report spam' and 'report ham' buttons to simply
> copy email to a special user folder.
>
> i've set my learning system with 2 specials folder in each mailbox:
> SpamFalse and SpamToLearn , in which users have to copy/move
> respectively their false positive or false negative.
>
> So i need to find a way to use horde report button to do the job.
>
> Thx for your help
>

I use a little perl script:
perl -p -e '$date = `date`; s/^Return-Path: <(.+)>/\n\nFrom $1  
${date}Return-Path: <$1>/' >> /var/local/yourspamfolder.  The folders  
are in mbox format on the mailserver.  I have horde running on my  
mailserver.  Then I look through the emails using pine, to ensure that  
users havent reported each other (or me) as spam.  I use bogofilter,  
and not spamassassin.  Hope this helps.

ddh

-- 
Dwayne Hottinger
Network Administrator
Harrisonburg City Public Schools

"rarely do people communicate, they just take turns talking"



More information about the imp mailing list