Okay, if someone's feeling really holiday generous, maybe they can help me out here... I'm having some problems whitelisting some mailing lists (this one, for instance!) and some other mail...
As an example, I have these headers:
X-Persona: <TireSwing>
Return-Path: <[EMAIL PROTECTED]>
Received: from tireswing.arsalon.net ([EMAIL PROTECTED])
by tireswing.net (8.12.10/8.12.10) with ESMTP id iBNM59rw022817
for <[EMAIL PROTECTED]>; Thu, 23 Dec 2004 16:05:09 -0600
X-ClientAddr: 63.146.24.84
Received: from ezwsmtp03.xm-radio.com (ezwsmtp03.xm-radio.com [63.146.24.84])
by tireswing.arsalon.net (8.12.10/8.12.10) with ESMTP id iBNM4ZMN022796
for <[EMAIL PROTECTED]>; Thu, 23 Dec 2004 16:04:35 -0600
Received: from CAMPAIGN ([63.146.24.84]) by ezwsmtp03.xm-radio.com with Microsoft SMTPSVC(5.0.2195.5329);
Thu, 23 Dec 2004 16:54:55 -0500
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
Subject: [SPAM] XM Signal - Your Guide to XM On and Off the Air
Date: Thu, 23 Dec 2004 16:54:55 -0500
MIME-Version: 1.0
Reply-To: [EMAIL PROTECTED]
Content-Type: multipart/alternative; boundary="Boundary.11111111.11111111"
X-OriginalArrivalTime: 23 Dec 2004 21:54:55.0382 (UTC) FILETIME=[09BAAB60:01C4E93A]
X-TireSwing-MailScanner-Information: Please contact the ISP for more information
X-TireSwing-MailScanner: Found to be clean
X-TireSwing-MailScanner-SpamCheck: spam, SpamAssassin (score=7.244,
required 5, autolearn=disabled, BODY_BLAMES_YOU_1 1.11,
BODY_OBFU_SEX 2.12, HTML_70_80 1.00, HTML_MESSAGE 1.00,
HTML_MISSING_CTYPE 1.00, URI_DEAL_ADJ 1.01)
X-TireSwing-MailScanner-SpamScore: sssssss
X-MailScanner-From: [EMAIL PROTECTED]
I want to add this to the whitelist. So I have this rule in a custom rule set (I KNOW these rules should be firing, as some of the other rules in this file are hitting on test messages):
whitelist_from_rcvd [EMAIL PROTECTED] ezwsmtp03.xm-radio.com
What am I doing wrong here? This rule is completely ignored.
Thanks for any guidance, and happy holidays,
Andy
Andy,
how are you calling SpamAssassin from sendmail? does it get called when the message is originally received from the remote host, or does it get called after the message is passed back to the localhost?
Have you tried running 'spamassassin -D < that_message' (no quotes)? that should give you some pretty useful debug information.
the one thing I can think of off the top of my head (although I'm not sure about it) is that if it's getting called after the message is passed back into your SMTP server, perhaps spamassassin is thinking that the message is being delivered via localhost instead of ezwsmtp03.xm-radio.com and therefore not meeting the criteria requirements of that whitelist entry. Like I said, I haven't tested this theory... just an idea off the top of my head.
hope this helps
alan