Forwarding all spam to a single mailbox using SpamAssassin and Qmail
Posted on 2007-07-20
I'm trying to get spam under control. The boss has agreed to the following scenario. Any message that gets flagged as spam, from any of our domains, to be forwarded to a "global" spam mailbox.
I have successfully integrated SpamAssassin with Qmail to mark emails as spam. Now I just need some help
with putting them into another mailbox.
What I've done thus far is
rename /var/qmail/bin/qmail-queue to be qmail-queue.orig
made a shell script with the name qmail-queue with just one line
spamc -f | /var/qmail/bin/qmail-queue.orig
I running on
Any help, even just advice, would be appreciated.