Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 1998 15:35:46 -0800 (PST)
From:      "Jonathan M. Bresler" <jmb>
To:        fbsdlist@federation.addy.com (Cliff Addy)
Cc:        dan@dpcsys.com, questions@FreeBSD.ORG
Subject:   Re: Stopping mail relaying (again)
Message-ID:  <199801282335.PAA17137@hub.freebsd.org>
In-Reply-To: <Pine.BSF.3.95q.980128171042.17011A-100000@federation.addy.com> from Cliff Addy at "Jan 28, 98 05:14:10 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Cliff Addy wrote:
> On Wed, 28 Jan 1998, Dan Busarow wrote:
> 
> > On Wed, 28 Jan 1998, Cliff Addy wrote:
> > > According to the anti-relaying stuff on sendmail.org, this will stop
> > > relaying if placed in sendmail.cf:
> > 
> > Use Claus Assman's rules.  See http://www.beach.net/~dan for
> > the URL and some notes on how the rules work.
> 
> Like all the others, this seems to assume that I know what ip addresses
> spam is coming from.  I don't, my clients can be ANYWHERE.  I need to
> reject email based on their return or sending addresses, NOT the ip.  I
> need to have a file with a list of "allowed" domain names.  If abc.com is
> in the file, then mail to or from abc.com is allowed, REGARDLESS of
> whether the sending machine is abc.com

	is filtering on the envelope-from address acceptable to you?
	the check_mail rules will do this.
	chewck_mail examines the "MAIL FROM:" address

	the sending machine is ${client_addr} and ${client_name}
jmb



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