You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by Apache Wiki <wi...@apache.org> on 2006/10/14 01:48:16 UTC

[Spamassassin Wiki] Update of "DeletingAllMailsMarkedSpam" by EricBambach

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Spamassassin Wiki" for change notification.

The following page has been changed by EricBambach:
http://wiki.apache.org/spamassassin/DeletingAllMailsMarkedSpam

------------------------------------------------------------------------------
  
  If you're using qmail (see IntegratedInMta), you can set up SpamAssassin through Qmail-Scanner, which has a patched version able to delete spam at a given threshold.  Here's the patched [http://www.bec.at/support/qmail-scanner/ version] and the [http://qmail-scanner.sourceforge.net original].
  
+ If you don't want the full Qmail-Scanner you can use [http://www.cisu.net/files/mailparser.c Mailparser] by Eric Bambach which is a very lightweight and very fast C program that drops any message with X-Spam-Flag: YES in the header. Rename /var/qmail/bin/qmail-queue to qmail-queue.orig and add it to the delivery queue after SpamAssassin.
+ 
+ Example /var/qmail/bin/qmail-queue file
+ {{{
+  #!/bin/bash
+  /usr/bin/spamc | /var/qmail/bin/mailparser | /var/qmail/bin/qmail-queue.orig
+ }}}
+ 
  == Challenge-response and Email passwords ==
  
  If you're willing to make senders jump through hoops to reach you, you can begin rejecting all mails except for ones known to be legitimate.  Some believe this solution is worse than the disease.