[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

can someone help me upgrade sendmail -- self-followup



I'm running sendmail 8.8.5 and apparently, according to
http://maps.vix.com/tsi/dnload/sm8-antirelay.txt, I may not need to upgrade
to stop some dang spammers.

I could just add

F{LocalIP} /etc/LocalIP

into sendmail.cf's local info section, but I'm worried about this ruleset
code...


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
#alternatively (or both)
R$*<@$*$={RelayTo}.>$*                  $>3 $1 $4
#still somthing here?
R$*<@$+>$*              $#error $@ 5.7.1 $: 571 we do not relay


Does that replace "S98"?  What if the tabs aren't perfect?  How can I get a
properly tabbed version of this code?

Please help.

TIA,

Adam



Reply to: