How can I create a local RBL combined with local host file
Question asked by Colton Morrison - April 12, 2016 at 2:00 PM
Unanswered
I have set up a Linux box with rbldnsd which is functional if I can specify the private IP, however my DNS settings in SmarterMail reference public DNS servers. Those DNS servers won't resolve the domain of rbl.localrbl, obviously. 
 
My question is - can we configure the smartermail system use the local hosts file? Or is there another way to tell SmarterMail what the local IP is for one or more domains local to the smartermail server?
 
Thanks!
Colton

1 Reply

Reply to Thread
1
SmarterMail just uses DNS, querying the DNS Servers you set in SETTINGS > GENERAL SETTINGS. If you were using your own DNS Servers and the hostname of your RBLDSD server is pointed to the Internal IP then you can simply use RB.LOCALRBL for the Hostname in your SmarterMail Antispam checks.
 
Since you are using Public DNS Servers and you don't have this domain in your DNS then alternately you can add an entry to your HOSTS file (located at %Windir%\System32\drivers\etc on the server running SmarterMail) that points to the local IP. For example, if RB.LOCALRBL is at 192.168.1.100 then you would add the following line:
 
192.168.1.100    rb.localrbl    #local RBL Server
 
Then, any attempts to connect to RB.LOCALRBL will circumvent DNS entirely and go directly to the internal IP Address you have mapped in your Hosts file!
 
 

Reply to Thread