Yes that's correct. when you relearn a message for bayes you don't need to write a new message at all. You just update the db based on the contents of the message as HAM or SPAM. that's easy because it's easy to query the message back using IMAP and the message-id. But I don't think IMAP will easily let you rewrite the message. I say don't think because I honestly haven't looked too hard at the IMAP apis yet. I use Mail::Audit to store the message as it arrives in a maildir folder. and I use Mail::IMAPClient to read the message to relearn based on it's message id.

On Jul 31, 2006, at 1:37 AM, Logan Shaw wrote:

On Sun, 30 Jul 2006, Loren Wilton wrote:
If you know how to run SA to relearn the message, why not just use SA to strip the headers off the message? It certainly knows how to do that, and I'm pretty sure it will output the clean file.

Because if I am understanding this right (not certain of that
at all), his goal is to clean up the mess that is made when
a message is tagged as a false positive and the problem he is
facing in achieving that goal is finding the message once it's
further down in the chain (i.e. after it has been delivered
to an IMAP folder).

  - Logan

Reply via email to