Janno Sannik wrote:
My solution is to have everyone make a folder called SpamLearn and HamLearn.Then daily (weekly) run : sa-learn --spam /home/vpopmail/domains/*/*/Maildir/.SpamLearn/cur/ sa-learn --spam /home/vpopmail/domains/*/*/Maildir/.SpamLearn/new/ sa-learn --ham /home/vpopmail/domains/*/*/Maildir/.HamLearn/new/ sa-learn --ham /home/vpopmail/domains/*/*/Maildir/.HamLearn/cur/Users who have these folders, get their spam (and ham) learned.After that it would be nice to delete those messages, but i haven't looked into it how to do it so quota doesn't break of something like that.
In the newer version of QMT,maildrop/mailfilter is used and it will create a "Spam" folder in the user's mailbox. I've never been able to get them to move messages into a "Ham" box, so I do that part manually right now. Anyway, there's some scripts around and I've put a couple in QTPlus (scripts originally written by Erik Espinoza) that will automatically learn the Spam and then remove them. There's a script in there to delete messages in the Trash after a certain number of days as well. Hopefully those will help you or someone else out.
smime.p7s
Description: S/MIME Cryptographic Signature
