{"id":123,"date":"2017-10-16T01:03:00","date_gmt":"2017-10-16T01:03:00","guid":{"rendered":"https:\/\/linuxadmin.melberi.com\/uncategorized\/configure-sendmail-with-dnsbl-enhdnsb"},"modified":"2017-10-16T09:09:17","modified_gmt":"2017-10-16T09:09:17","slug":"sendmail-with-dnsbl","status":"publish","type":"post","link":"https:\/\/www.melberi.com\/linuxadmin\/sendmail\/sendmail-with-dnsbl","title":{"rendered":"Sendmail with DNSBL enhdnsbl Whitelist"},"content":{"rendered":"<p>How to enable DNSBL, enhdnsbl Barracuda configuration in Sendmail, Enable Domain Black List\u00a0and white list.<\/p>\n<h2><span style=\"text-decoration: underline;\">Sendmail with DNSBL<\/span><\/h2>\n<p>Domain Name System Blacklists, also known as DNSBL&#8217;s or DNS Blacklists, are spam blocking lists that allow a website administrator to block messages from specific systems that have a history of sending spam.<br \/>\nTo enable external DSN based blacklist feature on your sendmail server, you can add the below mentioned configuration in the sendmail.mc file located in \/etc\/mail . Below I have mentioned eight dnsbl configurations, You can choose the black list based on your environment, server load etc and add it .<br \/>\nEdit\u00a0 sendmail.mc<br \/>\n<b>#vim \/etc\/mail\/sendmail.mc<\/b><\/p>\n<pre>\r\n<b>FEATURE(`enhdnsbl', `bl.spamcop.net', `\"Spam blocked see: http:\/\/spamcop.net\/bl.shtml?\"$&amp;{client_addr}', `t')<br style=\"background-color: #cccccc;\" \/>FEATURE(dnsbl,`combined.njabl.org',`Message from $&amp;{client_addr} rejected - see http:\/\/njabl.org\/lookup?$&amp;{client_addr}')<br style=\"background-color: #cccccc;\" \/>FEATURE(rhsbl,`dsn.rfc-ignorant.org',`\"550 Mail from domain \" $`'&amp;{RHS} \" refused. MX of domain do not accept bounces. This violates RFC 821\/2505\/2821 - see http:\/\/www.rfc-ignorant.org\/\"')<br style=\"background-color: #cccccc;\" \/>FEATURE(`dnsbl', `zen.spamhaus.org', `\"Rejected due to Spamhaus listing see http:\/\/www.abuse.net\/sbl.phtml?IP=\" $&amp;{clientaddr} \" for more information\"')\r\n <\/b><\/pre>\n<p>Restart the sendmail service<br \/>\n<b style=\"background-color: #cccccc;\">#service sendmail restart<\/b><\/p>\n<p><b>External Links:<\/b><br \/>\n<b><a href=\"http:\/\/www.dnsbl.info\/\" target=\"_blank\" rel=\"noopener\">www.dnsbl.info<\/a> <\/b><br \/>\n<b><a href=\"http:\/\/www.spamcop.net\/fom-serve\/cache\/294.html\" target=\"_blank\" rel=\"noopener\">www.spamcop.net<\/a><\/b><\/p>\n<p><b>\u00a0<\/b><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to enable DNSBL, enhdnsbl Barracuda configuration in Sendmail, Enable Domain Black List\u00a0and white list. Sendmail with DNSBL Domain Name System Blacklists, also known as DNSBL&#8217;s or DNS Blacklists, are&#8230; <a href=\"https:\/\/www.melberi.com\/linuxadmin\/sendmail\/sendmail-with-dnsbl\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/123"}],"collection":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/comments?post=123"}],"version-history":[{"count":4,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/123\/revisions"}],"predecessor-version":[{"id":743,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/123\/revisions\/743"}],"wp:attachment":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/media?parent=123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/categories?post=123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/tags?post=123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}