Hi,

I have recently finished migrating my email server from Cyrus Imapd 2.4 to 3.8, 
and I have found that it's no longer as easy to extract emails from users' 
"Junk" and "Not Junk" folders to feed them to my spam filter's learn_ham and 
learn_spam functions, respectively.

What's a good, easy and reliable way to achieve that at this point?

While I'm at it, is there a way to do this in an event-based fashion instead 
of with just cronjobs? What I would like to be able to do is trigger a script 
when a user moves an email into a folder named "Spam", with the actual email 
as a parameter (maybe as a file on disk, maybe streamed in to stdin), so I can 
feed it to the learn_spam function, and conversely a different script when a 
users moves a mail out of a folder named "Spam" into a folder not named "Junk" 
or "Trash", so I can feed it to the learn_ham function. Is that possible 
somehow?

Best Regards,

Guido Winkelmann



------------------------------------------
Cyrus: Info
Permalink: 
https://cyrus.topicbox.com/groups/info/T7b136544089b75ba-Meae0bca503f27ea8ca1aa463
Delivery options: https://cyrus.topicbox.com/groups/info/subscription

Reply via email to