From owner-freebsd-questions Mon Jan 5 11:40:11 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA04725 for questions-outgoing; Mon, 5 Jan 1998 11:40:11 -0800 (PST) (envelope-from owner-freebsd-questions) Received: (from jmb@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA04690; Mon, 5 Jan 1998 11:40:04 -0800 (PST) (envelope-from jmb) From: "Jonathan M. Bresler" Message-Id: <199801051940.LAA04690@hub.freebsd.org> Subject: Re: Preventing spam relaying To: fbsdlist@federation.addy.com (Cliff Addy) Date: Mon, 5 Jan 1998 11:40:04 -0800 (PST) Cc: freebsd-questions@freebsd.org In-Reply-To: from "Cliff Addy" at Jan 5, 98 01:17:54 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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? > > >