Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jan 1998 13:17:54 -0500 (EST)
From:      Cliff Addy <fbsdlist@federation.addy.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Preventing spam relaying
Message-ID:  <Pine.BSF.3.95q.980105131551.16014A-100000@federation.addy.com>

next in thread | raw e-mail | index | archive | help
>>   FR-o /etc/sendmail.cR
>> 
>>   Scheck_rcpt
>>   # anything terminating locally is ok
>>   R< $+ @ $=w >           $@ OK
>>   R< $+ @ $=R >           $@ OK
>> 
>>   # anything originating locally is ok
>>   R$*                     $: $(dequote "" $&{client_name} $)
>>   R$=w                    $@ OK
>>   R$=R                    $@ OK
>>   R$@                     $@ OK
>> 
>>   # anything else is bogus
>>   R$*                     $#error $: "550 Relaying Denied"
>
>You can also just append the rules themselves to your existing .cf

I tried this, but it seems to have no effect at all.  We are still being
abused as a relay.  Don't I need to put these rules within some particular
ruleset?





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.980105131551.16014A-100000>