Hi,

You're right, this is my situation exactly.
Your method is good for smart (intelligent) users.
This is not my case (my users here are very hard nut :)).

Just thought that may be someone have such script (for resending ham to its 
original recipients) running and could spare it with me :)


Best Regards,
Leon Kolchinsky

-----Original Message-----
From: Chris Purves [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 03, 2006 12:06 AM
To: users@spamassassin.apache.org
Subject: Re: script for reporting ham/spam/resending?

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