From owner-freebsd-isp Fri Jan 16 13:10:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA16380 for freebsd-isp-outgoing; Fri, 16 Jan 1998 13:10:16 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from wicked.eaznet.com (wicked.eaznet.com [209.75.156.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA16376 for ; Fri, 16 Jan 1998 13:10:12 -0800 (PST) (envelope-from eddie@wicked.eaznet.com) Received: (from eddie@localhost) by wicked.eaznet.com (8.8.7/8.8.5) id OAA01184; Fri, 16 Jan 1998 14:12:03 -0700 (MST) Message-ID: <19980116141203.35607@wicked.eaznet.com.> Date: Fri, 16 Jan 1998 14:12:03 -0700 From: Eddie Fry To: isp@FreeBSD.ORG Subject: Spam relaying Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=opJtzjQTFsWo+cga X-Mailer: Mutt 0.74e Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii I have added the following code to my sendmail.cf file in an effort to stop spam relaying. Unfortunately, it is not working. Is there some code I need to remove from the cf file? I am using Sendmail 8.8.7 with 8.8.5 config file. Thanks, Eddie Fry --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="sendmail.cf.addon" F{LocalIP} /etc/sendmail.cR Scheck_rcpt # first: get client addr R$+ $: $(dequote "" $&{client_addr} $) $| $1 R0 $| $* $@ ok no client addr: directly invoked R$={LocalIP}$* $| $* $@ ok from here # not local, check rcpt R$* $| $* $: $>3 $2 # remove local part, maybe repeatedly R$*<@$=w.>$* $>3 $1 $3 # still something left? R$*<@$+>$* $#error $@ 5.7.1 $: 571 we do not relay #^L --opJtzjQTFsWo+cga--