[imp] spam report to folder
tonio
tonio at starbridge.org
Sun Nov 25 17:32:57 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
dhottinger at harrisonburg.k12.va.us a écrit :
> 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
>
thx for your answer but i've need to copy/move to a personal folder not
a system wide one.
each users have an inbox like this:
INBOX
.Spam
.SpamTolearn
.SpamFalse
.whatever
when a false positive is found by user, he simply copy it from INBOX to
.SpamFalse
and when it's a false negative user move email to SpamTolearn
a cron task periodically move all emails into EACH SpamFalse and
SpamToLearn folders to a special folder in which this time i can run
sa-learn.
So i just need to user report spam and report ham like a copy link to
these personal folders.
Tonio
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHSbHI8FtMlUNHQIMRAlybAJ4kNW4xZ5FCro7JZDH2zfYAfpKSRACeI2QL
r4G7Wxy3dPtF+1tVjYaovVI=
=q0LE
-----END PGP SIGNATURE-----
More information about the imp
mailing list