Carlos Williams wrote:
On my Postfix server, I am unable to enable smtpd_*_restrictions in my
main.cf. With the following commented out, I can send and receive
email all day long with no problems but when I uncomment the following
lines, I get errors trying to send email from my email server...
#smtpd_recipient_restrictions =
# reject_invalid_hostname,
# reject_unknown_recipient_domain,
# reject_unauth_destination,
# reject_rbl_client sbl.spamhaus.org,
# permit
#smtpd_helo_restrictions =
# reject_invalid_helo_hostname,
# reject_non_fqdn_helo_hostname,
# reject_unknown_helo_hostname
And when I un-comment the above in main.cf, I get the following in my logs:
Sep 3 13:49:29 email postfix/smtpd[2522]: fatal: parameter
"smtpd_recipient_restrictions": specify at least one working instance
of: check_relay_domains, reject_unauth_destination, reject, defer or
defer_if_permit
Below is my "postconf -n" output:
show 'postconf -n' _after_ uncommenting the lines. we can't help you
troubleshoot problems in setups that work!