, sendmail hosts.allow/hosts.deny.
From: Dmitri Beloslioudtsev
sendmail 8.8.X
http://www.sendmail.org/antispam.html
, .mc (
- , !):
---------------------------------------------------------------
LOCAL_CONFIG
FR-o /etc/sendmail.cR
LOCAL_RULESETS
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"
---------------------------------------------------------------
/etc/sendmail.cR (
) ,
. - 550 Relaying
Denied.
Last-modified: Wed, 24 Sep 1997 06:07:04 GMT