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: email:~# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no config_directory = /etc/postfix home_mailbox = mail/ inet_interfaces = all mailbox_size_limit = 0 mydestination = $myhostname, $mydomain, localhost.$mydomain, localhost myhostname = email.example.net mynetworks = 10.1.0.0/16, 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 myorigin = example.net readme_directory = no recipient_delimiter = + relayhost = smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache smtpd_use_tls = yes