Block Email Domain Systemwide - DirectAdmin Email Blacklist

So, you want to protect your email server from spam, phishing, scam and more..

You must enable RBL Blocking on your DirectAdmin server to activate this blacklisting feature.Go to DirectAdmin > Server Manager > Adminstrator Settings >Email Settings; and select the "Use RBL Blocking" checkbox.


Open the blocklist file; Systemwide:

nano /etc/virtual/blacklist_domains

Add the domain list as: (separate domains by ENTER)


example.com

*.example.com

*.site

*.pro

*.xyz


If you also want to block any HOST then open:

nano /etc/virtual/bad_sender_hosts

Add the hostname list as: (separate domains by ENTER)


server.example.com

postoffice.example.com

qmail.example.net



Then reboot your server, or restart exim.

Get rid of disturbing emails !

Post a Comment