mouss wrote:
Edward Diener a écrit :
Does anybody know the instructions for training SA with the contents of
the Thunderbird Junk folder ?
My web host, where SA is tunning, suggests I do this in order to reduce
the amount of spam I get, and I can login to my web host, transfer files
from my local machine to my web host, and run SA commands.
so the messages are accessible on your SA system? if so, then run
spamassassin or spamc with the right option.
what I would like to see is a plugin to "J" a message...
If your mail server and users are using IMAP, the "Junk E-mail" folder
is on the server already.
I've got a script that runs from cron that will learn from that folder
and then delete its contents several times a day.
looks like this:
#!/bin/bash
sa-learn --spam --mbox "./mail/Junk E-mail"
rm "./mail/Junk E-mail"
touch "./mail/Junk E-mail"
you could probably adapt the concept to work system-wide, though I'm not
sure how your hosting people would take to it.
-Mike