Leon Kolchinsky wrote:
> Thanks Cris,
>
> What about resending false positives, after all filters learned that
> this is a ham, how should I resend these messages (on Cyrus system) to > the original recipients?
>
> Any sample code would be very welcome  :)

If I understand you correctly, your setup takes all your users spam and puts it into one maildir where you can accesss it. Now you have identified false positives and have learned them as ham, but you need to get those messages back into your users accounts.

Probably the most straightforward method would be to write a scipt that checks the Envelope-to header and moves the file to that users inbox.

Personally, I don't manage users spam. I give them imap folders for learn-spam and learn-ham then have a script that checks those folders and runs sa-learn. Spam is deleted once it is learned and ham is moved back to the inbox. For myself I also have report and revoke scripts that do the same, but instead of using sa-learn they use spamassasin -r or -k.



--
Chris

Reply via email to