{"id":171,"date":"2018-05-30T11:37:28","date_gmt":"2018-05-30T14:37:28","guid":{"rendered":"http:\/\/xaxowareti.com.br\/?p=171"},"modified":"2018-05-30T11:37:28","modified_gmt":"2018-05-30T14:37:28","slug":"enhanced-e-mail-spam-protection-in-ispconfig-3","status":"publish","type":"post","link":"https:\/\/xaxowareti.com.br\/?p=171","title":{"rendered":"Enhanced e-mail SPAM protection in ISPConfig 3"},"content":{"rendered":"<p>The command below enables a stricter SPAM handling for postfix on ISPConfig 3 servers.<\/p>\n<p>In Detail:<\/p>\n<ul>\n<li>Reject sender hostnames with invalid syntax<\/li>\n<li>Reject sender hostnames that are no fully qualified domains (e.g. reject &#8220;server1&#8221; but allow server1.domain.tld)<\/li>\n<li>Reject sender domains that have no DNS records<\/li>\n<li>Check sender IP addresses against realtime blacklists.<\/li>\n<\/ul>\n<p>First make a backup of the postfix main.cf file in case that you want to reverse the changes later:<\/p>\n<p class=\"command\">cp -pf \/etc\/postfix\/main.cf \/etc\/postfix\/main.cf.bak<\/p>\n<p>Then execute this command to enable the additional spam protection functions (the command is one line!).<\/p>\n<p class=\"command\">postconf -e &#8216;smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_hostname, reject_non_fqdn_hostname, reject_unknown_recipient_domain, reject_non_fqdn_recipient, reject_unauth_destination, reject_non_fqdn_sender, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_rbl_client cbl.abuseat.org,reject_rbl_client dul.dnsbl.sorbs.net,reject_rbl_client ix.dnsbl.manitu.net, check_recipient_access mysql:\/etc\/postfix\/mysql-virtual_recipient.cf, reject_unauth_destination&#8217;<\/p>\n<p>Then restart postfix:<\/p>\n<p class=\"command\">\/etc\/init.d\/postfix restart<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The command below enables a stricter SPAM handling for postfix on ISPConfig 3 servers. In Detail: Reject sender hostnames with invalid syntax Reject sender hostnames that are no fully qualified domains (e.g. reject &#8220;server1&#8221; but allow server1.domain.tld) Reject sender domains that have no DNS records Check sender IP addresses against realtime blacklists. First make a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-171","post","type-post","status-publish","format-standard","hentry","category-dicassolucoes"],"_links":{"self":[{"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=\/wp\/v2\/posts\/171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=171"}],"version-history":[{"count":1,"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=\/wp\/v2\/posts\/171\/revisions"}],"predecessor-version":[{"id":172,"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=\/wp\/v2\/posts\/171\/revisions\/172"}],"wp:attachment":[{"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}