Darik Horn wrote:
 > So, I would like send spams (witch my SA didn't catch) to e-mail
 > [EMAIL PROTECTED] and my maildrop use sa-learn in this e-mail.
 > How can I do that in my maildrop???

Be careful about doing this. Things that you forward to [EMAIL PROTECTED] will appear to come from your address, so you may accidentally teach SpamAssassin to negatively score messages from your domain.

A better solution is to export a maildir as a shared IMAP folder, and then drag-and-drop spams there with your mail reader. The spam will not be changed by another run through the MTA, which will improve the effectiveness of sa-learn.

You could then run a cron job against that maildir like this:

IFS='
' for i in $(find /my/spam/maildir -type f)
do
    sa-learn --spam "$i" && rm "$i"
done


Test this first.


I tried this under Cyrus and really screwed up my maildir by removing a file that wasn't supposed to be removed.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to