Hello, everyone.

I just browsed the spamassassin wiki and googled a bit, because for
quite some time I felt the need for a tool to train my bayesian database
with a whole imap tree.

Being not able to find an adequate tool, I created the attached perl
script which uses the Net::IMAP::Simple and Mail::SpamAssassin package
to do just this without invoking other tools like fetchmail, mailsync,
mailutil, etc.

Seems to work just fine for me.

Feel free to put it online somewhere and to modify it. 
I would be glad to receive feedback and improvements :-)

Regards,

Maximilian Mehnert

Attachment: salearn-imap-folders
Description: Perl program

Reply via email to