You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Ralf Guenthner <gu...@alphatel.de> on 2004/06/08 15:16:44 UTC

Spam with fake local address sender

Hi list

I'm sure this is quite easy but I just can't figure it out at present so 
please give me a hint:

How do you prevent a spam message from hitting "USER_IN_WHITELIST", 
because the spammer faked the sender address in such a way that it looks 
like a local address (which is in fact white-listed in local.cf) ?

Cheers
Ralf G.


Re: Spam with fake local address sender

Posted by Matt Kettler <mk...@comcast.net>.
At 03:16 PM 6/8/04 +0200, Ralf Guenthner wrote:

>I'm sure this is quite easy but I just can't figure it out at present so 
>please give me a hint:
>
>How do you prevent a spam message from hitting "USER_IN_WHITELIST", 
>because the spammer faked the sender address in such a way that it looks 
>like a local address (which is in fact white-listed in local.cf) ?

use whitelist_from_rcvd, or don't whitelist your local addresses at all.

whitelist_from_rcvd requires two parameters, the second of which should be 
an RDNS that matches your inside hosts, but not your mailserver.

ie:

whitelist_from_rcvd mkettler-example@evi-inc.com lanhosts.evi-inc.com

(where lanhosts.evi-inc.com would be a subdomain containing my inside 
machines that appears in the Received: headers)