[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Anti relay in sendmail 8.8
Hi!
I'm trying to configure sendmail to refuse relaying.
I downloaded addition to sendmail.cf from
http://www.sendmail.org/antispam.html ( the domain version )
and added it to my sendmail.cf
Anyway I hate to say it that I'm no entirely understand what I'm
doing, althought I've been rtfming for last few days.
When I talk to sendmail, after rcpt I get error:
554 Unknown ruleset Parse0
What am I doing wrong?
Anyway here is addition to my sendmail.cf:
FR-o /etc/sendmail.cR
Scheck_rcpt
# anything terminating locally is ok
R$* $: $>Parse0 $>3 $1
R$+ < @ $* . > $* $: $1 < @ $2 >
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"
Alexander Indenbaum
baum@actcom.co.il