|
|
Subject:
Easy Procmailrc question
Category: Computers > Programming Asked by: climbingboulder-ga List Price: $3.00 |
Posted:
26 Apr 2003 08:34 PDT
Expires: 26 May 2003 08:34 PDT Question ID: 195750 |
Below is my procmailrc file. Now, it runs mail through spamassassin (spamc), and spamassassin modifies the headers - adds ***** SPAM ***** in the subject line, adds a spam summary, and some new lines in the body. I filter the spam into a spam mailbox based upon the subject line. Now, however, I want to redirect any spam to go to /dev/null. How do I do that? Do I need to restart procmail/sendmail/spamassassin after I do so? DROPPRIVS=yes :0fw * < 256000 | spamc # The following procmailrc(5) rule adds an X-DCC header to passing mail :0 f | /usr/local/bin/dccproc -ERw whiteclnt |
|
Subject:
Re: Easy Procmailrc question
Answered By: sycophant-ga on 26 Apr 2003 22:41 PDT Rated: |
Hi, I also use Spamassassin and Procmail. Try adding the following to your .procmailrc file after the spammail invokation: :0: * ^X-Spam-Status: Yes /dev/null That should work fine. You shouldn't need to restart anything, the procmail configuration is parsed each time procmail is run (ie. everytime an email is received). Regards, sycophant-ga |
climbingboulder-ga
rated this answer:
Exactly what I needed. Thanks! |
|
There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |