Anti-spam'ovskaya nastrojka sendmail
Kak obuchit' sendmail prinimat' pochtu tol'ko s razreshennyh adresov?
Govoryat, chto sendmail umeet chitat' hosts.allow/hosts.deny.
Kak prinimat' pochtu tol'ko dlya "svoih" domenov
From: Dmitri Beloslioudtsev
|ta problema reshena dlya standartnoj konfiguracii sendmail 8.8.X
http://www.sendmail.org/antispam.html
Vkratce, v fajl.mc vstavlyayutsya vot takie stroki (bud'te
vnimatel'ny - tut nuzhny znaki tabulyacii, a ne probely!):
---------------------------------------------------------------
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"
---------------------------------------------------------------
V sootvetstvuyushchij fajl /etc/sendmail.cR zanosyatsya (po
odnomu v strochke) domeny, na kotorye eta mashina mozhet poluchat'
pochtu. Vse ostal'nye - zapreshchayutsya s diagnostikoj 550 Relaying
Denied.
Last-modified: Wed, 24 Sep 1997 06:07:04 GMT