[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vps-mail] procmailrc and includerc question
- Subject: [vps-mail] procmailrc and includerc question
- From: "Jim Smith" <maillists@xxxxxxxxxxxxxxxx>
- Date: Tue, 6 Mar 2007 09:03:30 -0500
I have some rc rules in my procmail to sift out current spam based on
headers, subject, and body. In my .procmailrc files I call them like this:
------------
## BLACKLIST BODY - SEND TO SPAM FOLDER
LOGFILE=$HOME/BL_body.log
LOGABSTRACT=yes
VERBOSE=no
COMSAT=no
INCLUDERC=/rules/BL_body.rc
----------
Then I have a
BL_body.rc file like this:
-----------
:0B:
* 1^0 ACEN at pink
...[snip]...
* 1^0 Stronghold Industries Inc
* 1^0 Symbol SGDS
$HOME/spam
-----------
Works well for adding those annoying spams that seem to always sneak through
the SA.
Here's the question. When I get a client complaining about getting legit
emails in their spam folder, I don't know which of these are triggering it.
I would like this to add an identifier in the header saying "X-BL_body: Spam
in body detected" so I know where to start looking. I know I can normally do
this in my .procmailrc file like this:
___________
{
:0 fhw
| formail -A"X-BL_body: Spam in body detected"
}
___________
but I'm not sure when I do an INCLUDERC call, where (or whether) I can add
this command to the .procmailrc file or the BL_body.rc file. Anyone know?
Thanks,
Jim Smith
--------------------------------------------------------
Jim Smith, Blarneystone, LLC.
Website Design, Hosting, Development & Enhancement
E-MAIL: jimsmith@xxxxxxxxxxxxxxxx
WEBSITE: http://www.blarneystone.com
--------------------------------------------------------
========================================================================
This is <vps-mail@xxxxxxxxxxxxx> <http://groupmail.org/lists/vps-mail/>
Before posting a question, please search the archives (see above URL).
Main Index |
Thread Index