From owner-freebsd-questions Mon Jan 5 10:18:02 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA26047 for questions-outgoing; Mon, 5 Jan 1998 10:18:02 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from federation.addy.com (federation.addy.com [207.239.68.2]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA26042 for ; Mon, 5 Jan 1998 10:17:56 -0800 (PST) (envelope-from fbsdlist@federation.addy.com) Received: from localhost (fbsdlist@localhost) by federation.addy.com (8.8.5/8.6.12) with SMTP id NAA16760 for ; Mon, 5 Jan 1998 13:17:54 -0500 (EST) Date: Mon, 5 Jan 1998 13:17:54 -0500 (EST) From: Cliff Addy To: freebsd-questions@freebsd.org Subject: Re: Preventing spam relaying Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> 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?