-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am Freitag, 24. Dezember 2004 04:33 schrieb Andy Norris: > 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] [..] > > > 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.
- From man Mail::Spamassassin::Conf :cite whitelist_from_rcvd [EMAIL PROTECTED] source- forge.net Use this to supplement the whitelist_from addresses with a check against the Received headers. The first parameter is the address to whitelist, and the second is a string to match the relay's rDNS. This string is matched against the reverse DNS lookup used during the handover from the internet to your internal network's mail exchangers. It can either be the full hostname, or the domain component of that hostname. In other words, if the host that connected to your MX had an IP address that mapped to 'send- inghost.spamassassin.org', you should specify "send- inghost.spamassassin.org" or just "spamassassin.org" here. Note that this requires that "internal_networks" be correct. For simple cases, it will be, but for a com- plex network, or running with DNS checks off or with "-L", you may get better results by setting that parameter. :ecite You aren't receiving the Mail directly from ezwsmtp03.xm-radio.com but from tireswing.arsalon.net. Maybe this is the reason why the rule doesn't fire? Merry X-mas Thomas - -- icq:133073900 aim:tawhv -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFBy8ZwHe2ZLU3NgHsRAkFPAJ9TOWo4/0T1bBDVN2oomGvQ3tuiGwCfQzbQ AAiznT/Unlqni4Ub8usGgI0= =3xOk -----END PGP SIGNATURE-----