|
Thanks Jake - your method works great. It was what I was
trying to do, but wasn't sure how to get it to work with the /new /cur Maildir
layout. So I did the whole "for" loop idea and sent it message by message to
sa-learn then deleted them. So slow...
Anyways, the only thing I changed on your script is added
"--no-sync" to the sa-learn --spam lines. The way it's setup on your page, it
resyncs as it learns, then you resync (again) at the end, so I think that's
double the work? no-sync allows it to skip the syncing 'til the
end.
/usr/bin/sa-learn --spam
--no-sync /home/vpop .... ld.com/spam/Maildir/new/*
Hope this tweaks performance a bit!
Also, I toyed with the idea of having the catch-all on our domain to send
all that mail to a user named "Spam"'s email inbox, which then gets sent to
sa-learn. This way, spammers who are guessing usernames are actually doing us a
favor! I haven't implemented this yet - I wanted to get other people's
ideas/comments on this first. Anything ?
Jared
From: Jake Vickers [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 25, 2006 6:11 PM To: [email protected] Subject: Re: [qmailtoaster] Training spamassassin with Maildir/Qmail It works fine as is. I have an old write-up on how to do it all on my site (http://v2gnu.com/qmail), and I do what you're doing as well. I also have it delete the messages in the Spam folder after sa-learn has been through them. Works just fine. No need to do all that extra work. The spamassassin-toaster package (which is what you're running) was set up to work with the rest of the package as flawlessly as possible. |
- Re: [qmailtoaster] Training spamassassin with Maildir/Qmail Jake Vickers
- RE: [qmailtoaster] Training spamassassin with Maildir/Q... Jared Markell
- Re: [qmailtoaster] Training spamassassin with Maild... Jake Vickers
- Re: [qmailtoaster] Training spamassassin with M... Erik Espinoza
- Re: [qmailtoaster] Training spamassassin with Maild... Erik Espinoza
