Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jan 1998 11:40:04 -0800 (PST)
From:      "Jonathan M. Bresler" <jmb>
To:        fbsdlist@federation.addy.com (Cliff Addy)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Preventing spam relaying
Message-ID:  <199801051940.LAA04690@hub.freebsd.org>
In-Reply-To: <Pine.BSF.3.95q.980105131551.16014A-100000@federation.addy.com> from "Cliff Addy" at Jan 5, 98 01:17:54 pm

next in thread | previous in thread | raw e-mail | index | archive | help
	did you tell sendmail to re-read its configuration file
	(/etc/sendmail.cf) ???

	try "kill -HUP `head -1 /var/run/sendmail.pid`"
	look in /var/log/maillog for lines similar to:

Jan  5 14:37:57 kryten sendmail[3227]: restarting /usr/sbin/sendmail on signal
Jan  5 14:37:58 kryten sendmail[7164]: starting daemon (8.8.7): SMTP+queueing@00:30:00

	if the lines to not appear, kill sendmail and restart it.
	(sendmail must be started with its full pathname, /usr/sbin/sendmail,
	 in order to respond to a HUP signal.
jmb


Cliff Addy wrote:
> 
> >>   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?199801051940.LAA04690>