From owner-freebsd-questions@FreeBSD.ORG Thu Apr 15 21:01:42 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C84716A4CE for ; Thu, 15 Apr 2004 21:01:42 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD71E43D1F for ; Thu, 15 Apr 2004 21:01:41 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i3G41ePU075300; Thu, 15 Apr 2004 23:01:40 -0500 (CDT) (envelope-from dan) Date: Thu, 15 Apr 2004 23:01:40 -0500 From: Dan Nelson To: antenneX Message-ID: <20040416040139.GM28745@dan.emsphone.com> References: <200404151631.i3FGVGOf005743@dc.cis.okstate.edu> <20040415172633.GI28745@dan.emsphone.com> <001201c42360$d6fa58a0$0200000a@SAGEAME> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001201c42360$d6fa58a0$0200000a@SAGEAME> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: Setting Sendmail to Refuse Possibly Forged Headers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 04:01:42 -0000 In the last episode (Apr 15), antenneX said: > > SLocal_check_mail > > R$* $: $1 $| $&s Put helo name in workspace > > R$* $| $={RejectHelo} $#error $@ 5.7.1 $: "550 Spammer access denied" > > R$* $| $* $: $1 Extract helo from workspace if it doesn't match > > #-/\- > > Dan: Your suggestions here were appealing, but I'm batting zero. > > 1- Will milter-sender work alongside spamass-milter...?? > I *think* it was working on a test box, but failed on production box. They should coexist peacefully. In general, milters should be unaware of each other. I'd put milter-sender in front of spamass-milter, since spamassassin can be CPU-hungry and there's no need to mark a message as spam if milter-sender is just going to deny it anyway. > 2- Each of your 3 lines above for "local_check_mail" yelled about > expecting a Tab when sendmail was restarted... not sure how to fix > that..... My outgoing message had tabs; if your mailer removes them or replaces them with spaces, here's where they go: R$*$: $1 $| $&sPut helo name in workspace R$* $| $={RejectHelo}$#error $@ 5.7.1 $: "550 Spammer access denied" R$* $| $*$: $1Extract helo from workspace if it doesn't match -- Dan Nelson dnelson@allantgroup.com