You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Pierre Thomson <Pi...@bruderhof.com> on 2004/03/25 22:38:45 UTC

whitelist_from_rcvd - again

I'm having a heck of a time getting whitelist_from_rcvd to work AT ALL since upgrading to 2.63 .  I have read the threads about trusted networks, etc., but nothing seems to work.  (To be honest, I don't see the logic behind it only working on trusted networks... it may foil some spoofs but it makes administration a nightmare.)

That said... I can't even get outgoing mail from our very own 192.168.1.XXX network to trigger a whitelist_from_rcvd rule, even when I explicitly declare that network trusted.  I have had to resort to local meta rulesets that check the From and Received lines for the desired combination of strings.

Is whitelist_from_rcvd broken beyond repair?  Is there any hope for a fix before the next major release?  I'm doing overtime requeueing borderline ham that used to be whitelisted... help!


Pierre Thomson
BIC



sample line from local.cf:

-----
whitelist_from_rcvd  *@rifton.com               community.int
-----

sample header excerpt (only usernames and subject have been changed)

-----
Received: from wcr_nt_server25.community.int (wcr_nt_server25.community.int [192.168.1.10])
        by mail1.rifton.com (8.11.6/8.11.6) with ESMTP id i2PLBNb06108
        for <us...@otherdomain.com>; Thu, 25 Mar 2004 16:11:23 -0500
MIME-Version: 1.0
Content-Type: text/plain;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: mumbo jumbo
Date: Thu, 25 Mar 2004 16:11:10 -0500
Message-ID: <02...@wcr_nt_server25.community.int>
From: "Joe User" <us...@rifton.com>
To: <us...@otherdomain.com>
-----

SA output:

Content analysis details:   (-4.9 points, 5.0 required)

 pts rule name              description
---- ---------------------- --------------------------------------------------
-4.9 BAYES_00               BODY: Bayesian spam probability is 0 to 1%
                            [score: 0.0000]


Where's the whitelist hit???




-----Original Message-----
From: Matt Kettler [mailto:mkettler@evi-inc.com]
Sent: Thursday, March 25, 2004 3:49 PM
To: Ragnar Paulson; spamassassin-users@incubator.apache.org
Subject: Re: {SPAM} Spoofing, whitelist, whitelist_from_rcvd

...

I hate to be blunt.. but you are running a seriously old version of SA, one 
which has a well known bug in whitelist_from_rcvd that was fixed quite a 
long time ago with the release of 2.60...

http://bugzilla.spamassassin.org/show_bug.cgi?id=846

Perhaps you should consider upgrading. After all, the SA-devs can fix bugs 
all they want and it does you no good if you don't download current 
versions of SA.

RE: whitelist_from_rcvd - again

Posted by Dan Tappin <da...@orourke-eng.com>.
Hi Matt,

I have a follow-up question on this topic.  I am running SA on the same system as my mail server.  This system also acts as the NAT
system for our office.  The system has one public IP on NIC and a private IP on a second NIC acting as a gateway via NAT.

I too have the same whitelist issues.  I have several external addresses / domains that I have white listed with a plain
whitelist_from AND whitelist_from_rcvd and they are still caught as spam.

Do I need to use trusted_networks also?  I have watched my logs and seen other white listed addresses tagged correctly < -100 scores
but these nagging users keep getting missed.  I am about to also create custom rules to band-aid fix this issue.

Dan

BTW I am running SA 2.63.

> -----Original Message-----
> From: Matt Kettler [mailto:mkettler@evi-inc.com]
> Sent: Thursday, March 25, 2004 3:00 PM
> To: Pierre Thomson; spamassassin-users@incubator.apache.org
> Subject: Re: whitelist_from_rcvd - again
>
>
> At 04:38 PM 3/25/2004, Pierre Thomson wrote:
> >I'm having a heck of a time getting whitelist_from_rcvd to work AT ALL
> >since upgrading to 2.63 .  I have read the threads about trusted networks,
> >etc., but nothing seems to work.  (To be honest, I don't see the logic
> >behind it only working on trusted networks... it may foil some spoofs but
> >it makes administration a nightmare.)
> >
> >That said... I can't even get outgoing mail from our very own
> >192.168.1.XXX network to trigger a whitelist_from_rcvd rule, even when I
> >explicitly declare that network trusted.  I have had to resort to local
> >meta rulesets that check the From and Received lines for the desired
> >combination of strings
>
> That right there is your problem most likely... If you are using a NATed
> mailserver you MUST manualy declare trusted_networks. Otherwise SA
> mis-understands the mail headers and decides your SMTP gateway is a server
> outside your network.
>
> Try forcing a trusted_networks statement that contains _only_ your
> mailserver. Do not include your hosts. Do not include any outside ISPs.
> Just include your servers.
>


Re: whitelist_from_rcvd - again

Posted by Matt Kettler <mk...@evi-inc.com>.
At 04:38 PM 3/25/2004, Pierre Thomson wrote:
>I'm having a heck of a time getting whitelist_from_rcvd to work AT ALL 
>since upgrading to 2.63 .  I have read the threads about trusted networks, 
>etc., but nothing seems to work.  (To be honest, I don't see the logic 
>behind it only working on trusted networks... it may foil some spoofs but 
>it makes administration a nightmare.)
>
>That said... I can't even get outgoing mail from our very own 
>192.168.1.XXX network to trigger a whitelist_from_rcvd rule, even when I 
>explicitly declare that network trusted.  I have had to resort to local 
>meta rulesets that check the From and Received lines for the desired 
>combination of strings

That right there is your problem most likely... If you are using a NATed 
mailserver you MUST manualy declare trusted_networks. Otherwise SA 
mis-understands the mail headers and decides your SMTP gateway is a server 
outside your network.

Try forcing a trusted_networks statement that contains _only_ your 
mailserver. Do not include your hosts. Do not include any outside ISPs. 
Just include your servers.