KNOWNHOST WIKI

User Tools

Site Tools


control-panels:directadmin:how-to-enable-rbl-blocking

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
control-panels:directadmin:how-to-enable-rbl-blocking [2019/11/07 13:48]
Karson N.
control-panels:directadmin:how-to-enable-rbl-blocking [2020/06/01 11:18] (current)
Karson N.
Line 1: Line 1:
 ====== How To Enable RBL Blocking and Set A Custom RBL With DirectAdmin's Exim ====== ====== How To Enable RBL Blocking and Set A Custom RBL With DirectAdmin's Exim ======
- 
 \\ \\
  
Line 11: Line 10:
  
 First, check to see if RBL blocking is already enabled. If the following symlink exists, then it is enabled: First, check to see if RBL blocking is already enabled. If the following symlink exists, then it is enabled:
 +<code>
   /etc/virtual/use_rbl_domains -> domains   /etc/virtual/use_rbl_domains -> domains
 +</code>
  
 To check, use the following command as root via SSH: To check, use the following command as root via SSH:
 +<code>
   ls -lah /etc/virtual/use_rbl_domains   ls -lah /etc/virtual/use_rbl_domains
 +</code>
  
 If it is not enabled already, run the following as the root user via SSH to enable: If it is not enabled already, run the following as the root user via SSH to enable:
  
 <code> <code>
-cd /etc/virtual +  cd /etc/virtual 
-rm -f use_rbl_domains +  rm -f use_rbl_domains 
-ln -s domains use_rbl_domains+  ln -s domains use_rbl_domains
 </code> </code>
  
Line 32: Line 33:
  
 <code> <code>
-RBL_DNS_LIST=\+  RBL_DNS_LIST=\
       cbl.abuseat.org : \       cbl.abuseat.org : \
       bl.spamcop.net : \       bl.spamcop.net : \
Line 43: Line 44:
 To add a custom RBL to the list, you need to create the file /etc/exim.strings.conf.custom file and add/edit the variable there.  To add a custom RBL to the list, you need to create the file /etc/exim.strings.conf.custom file and add/edit the variable there. 
  
-So, let's say you wanted to add dnsbl.sorbs.net and combined.rbl.msrbl.net to this list. You would create the /etc/exim.strings.conf.custom file  and add the edited list like so:+So, let's say you wanted to add dnsbl.sorbs.net and combined.rbl.msrbl.net to this list. You would create the <code> 
 +  /etc/exim.strings.conf.custom 
 +</code> 
 + 
 +file  and add the edited list like so:
  
 <code> <code>
-RBL_DNS_LIST==\ +  RBL_DNS_LIST==\ 
-cbl.abuseat.org : \ +  cbl.abuseat.org : \ 
-bl.spamcop.net : \ +  bl.spamcop.net : \ 
-b.barracudacentral.org : \ +  b.barracudacentral.org : \ 
-zen.spamhaus.org : \ +  zen.spamhaus.org : \ 
-dnsbl.sorbs.net : \ +  dnsbl.sorbs.net : \ 
-combined.rbl.msrbl.net+  combined.rbl.msrbl.net
 </code> </code>
  
 Next, restart exim: Next, restart exim:
 +<code>
   service exim restart   service exim restart
 +</code>
  
 That's all that is needed to enable a custom RBL list with DirectAdmin! :) That's all that is needed to enable a custom RBL list with DirectAdmin! :)
Line 67: Line 73:
  
 <code> <code>
-cd /etc/virtual +  cd /etc/virtual 
-rm -f use_rbl_domains +  rm -f use_rbl_domains 
-touch use_rbl_domains+  touch use_rbl_domains
 </code> </code>
  
Line 76: Line 82:
  
 If you later decide that you'd like to revert back to the default RBL list, simply remove the /etc/exim.strings.conf.custom file and restart Exim.  If you later decide that you'd like to revert back to the default RBL list, simply remove the /etc/exim.strings.conf.custom file and restart Exim. 
 +<code>
   rm /etc/exim.strings.conf.custom   rm /etc/exim.strings.conf.custom
   service exim restart   service exim restart
 +</code>
  
control-panels/directadmin/how-to-enable-rbl-blocking.txt · Last modified: 2020/06/01 11:18 by Karson N.