SMTPD Rejecting Domain Relay
Posted: Fri May 18, 2007 10:51 am
Hello,
I've configured smtpd.cfg as follows below, but smtpd still doesn't relay from server host.domain.com. Reading the documentation, I was thinking that RELAY Accept .mydomain.com would've been sufficient. Do domain hosts have to authenticate somehow? If so, how do I set that up?
# NB Authenticated RELAYs are always allowed
RELAY Accept 127.0.0.1
RELAY Accept .mydomain.com
RELAY Accept host.domain.com
RELAY Accept 11.111.11.101
RELAY Log_Reject ALL
SUBMIT Log_Reject DNSBL,bl.spamcop.net,ALL
SUBMIT Log_Reject DNSBL,relays.ordb.org,ALL
SUBMIT Log_Reject DNSBL,clb.abuseat.org,ALL
SUBMIT Log_Reject DNSBL,sbl.spamhaus.org,ALL
# extra rules added to prevent open relay usage
RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*
I've configured smtpd.cfg as follows below, but smtpd still doesn't relay from server host.domain.com. Reading the documentation, I was thinking that RELAY Accept .mydomain.com would've been sufficient. Do domain hosts have to authenticate somehow? If so, how do I set that up?
# NB Authenticated RELAYs are always allowed
RELAY Accept 127.0.0.1
RELAY Accept .mydomain.com
RELAY Accept host.domain.com
RELAY Accept 11.111.11.101
RELAY Log_Reject ALL
SUBMIT Log_Reject DNSBL,bl.spamcop.net,ALL
SUBMIT Log_Reject DNSBL,relays.ordb.org,ALL
SUBMIT Log_Reject DNSBL,clb.abuseat.org,ALL
SUBMIT Log_Reject DNSBL,sbl.spamhaus.org,ALL
# extra rules added to prevent open relay usage
RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*