I wrote a quick patch to qmail-scanner that will
allow you to redirect email tagged as SPAM by SpamAssassin (http://www.spamassassin.org) instead of
passing it on to the intended receiver. I did this because I want all spam
to go to a special spam mailbox instead if making the end user have to set up
filters in their email client. The To field in the email is preserved, so
you can set up some back end logic to route the message as desired.
To use this patch, download it from http://www.xenos.net/software/qmail-scanner
and apply it to your qmail-scanner 1.12 source tree. Then, add the option
--spam-admin <email> to your configure call.
(Replace <email> with the email address to where you want the
spam message sent.)
As soon as I have a few more minutes, I'm going to
add the -u option to the spamc call so my per user SQL stored SpamAssassin
preferences will work correctly...
Karyl
|