Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 1998 19:59:06 -0800 (PST)
From:      "Jonathan M. Bresler" <jmb>
To:        fbsdlist@federation.addy.com (Cliff Addy)
Cc:        questions@FreeBSD.ORG
Subject:   Re: Preventing spam relaying
Message-ID:  <199801220359.TAA06643@hub.freebsd.org>
In-Reply-To: <Pine.BSF.3.95q.980121211850.1742A-100000@federation.addy.com> from Cliff Addy at "Jan 21, 98 09:24:08 pm"

next in thread | previous in thread | raw e-mail | index | archive | help

	put all the machines that are allowed to relay (those running
	netscape) in the "R" class.......
	list them in /etc/sendmail.cf.relays
jmb

Cliff Addy wrote:
> OK, I FINALLY got the relay prevention stuff to reject relaying with :
> 
>  #LOCAL_CONFIG
>  FR-o /etc/sendmail.cf.relays
> 
>  #LOCAL_RULESETS
>  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"
> 
> However, it's too good now.  I need OUR clients to be able to send email
> and it's getting blocked.  I didn't realize that Netscape talks directly
> to the sendmail port, I just assumed it used the POP server.  Is there any
> way I can work around this?  I'm tired of abusive email from people who've
> been spammed and seeing hundreds of messages queued up on our servers, but
> have to let our clients send email.  Can NS be configured to send email
> through the pop server?
> 
> Very tiredly yours, 
> 
> Cliff
> 
> 
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801220359.TAA06643>