Question
- How to configure DNS Blackhole Lists (DNSBL) in Plesk?
- It it possible to use DNS blacklists for incoming mail in Plesk?
Answer
You may configure and use free and paid subscription blackhole lists with your Plesk server. The list is available here.
Note: A DNSBL is a Domain Name System Block List, which is essentially a list of IP address ranges or other information compiled and presented as a DNS zone that can be used for incoming spam blocking for mailboxes located on your Plesk server.
Note: On Linux, if you use the Qmail mail server and switch on DNSBL, senders with IP addresses from the blackhole list will not be able to send emails even if they pass SMTP authentication. To avoid this, switch on the message submission as described in Configuring Server-Wide Mail Settings.
-
Go to Tools & Settings > Mail Server Settings (in the Mail group).
-
Check Turn on spam protection based on DNS blackhole lists.
-
In the DNS zones for DNSBL service field, specify the host name that your mail server should query, for example:
zen.spamhaus.org;b.barracudacentral.org
-
Apply the changes.
-
Connect to the Plesk server via SSH.
-
Use the
plesk bin mailserver
utility with the following options:-
to modify the list of DNS zones:
# plesk bin mailserver --set-maps-zone dnsbl1.example.net,dnsbl2.example.net
-
to enable spam protection based on DNS blackhole lists:
# plesk bin mailserver --set-maps-status true
-
to disable spam protection based on DNS blackhole lists:
# plesk bin mailserver --set-maps-status false
-