Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 2004 23:01:40 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        antenneX <antennex@swbell.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Setting Sendmail to Refuse Possibly Forged Headers
Message-ID:  <20040416040139.GM28745@dan.emsphone.com>
In-Reply-To: <001201c42360$d6fa58a0$0200000a@SAGEAME>
References:  <200404151631.i3FGVGOf005743@dc.cis.okstate.edu> <20040415172633.GI28745@dan.emsphone.com> <001201c42360$d6fa58a0$0200000a@SAGEAME>

next in thread | previous in thread | raw e-mail | index | archive | help
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$*<TAB>$: $1 $| $&s<TAB>Put helo name in workspace
R$* $| $={RejectHelo}<TAB>$#error $@ 5.7.1 $: "550 Spammer access denied"
R$* $| $*<TAB>$: $1<TAB>Extract helo from workspace if it doesn't match

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040416040139.GM28745>