GoranTornqvist
Verified User
Hello,
I'm no mail/spam expert so I need some help.
I want to enable RBL in my exim, so I read a few of the posts in the forum and then checked my exim.conf (on my newest server).
What I found is that RBL are enabled by default on my newest server, could that be correct?
So that stuff should be working right?
Question 1: how can I make sure this is actually working? I see a lot of rows in my /var/log/exim/rejectlog but all is "rejected RCPT". Can't find any messages about RBL or similiar...how does a row for a rbl rejected message look like?
Question 2: To add another list I guess all I need to do is to add it to all the dnslists strings?
Question 3: This http://www.example.com/ , have you guys changed that on your server?
That is used for manually adding a banned host to the whitelist file, correct?
I'm no mail/spam expert so I need some help.
I want to enable RBL in my exim, so I read a few of the posts in the forum and then checked my exim.conf (on my newest server).
What I found is that RBL are enabled by default on my newest server, could that be correct?
domainlist blacklist_domains = lsearch;/etc/virtual/blacklist_domains
domainlist whitelist_from = lsearch;/etc/virtual/whitelist_from
domainlist use_rbl_domains = lsearch;/etc/virtual/use_rbl_domains
# deny so-called "legal" spammers"
# but do bypass all checking for whitelisted host names
deny message = You may think you're legal but you're still an unwanted spammer
# only for domains that do want to be tested against RBLs
domains = +use_rbl_domains
sender_domains = +blacklist_domains
# Deny stuff from insecure hosts & spammers. No exceptions for known users.
# but do bypass all checking for whitelisted host names
deny message = to unblock $sender_host_name see http://www.example.com/
# only for domains that do want to be tested against RBLs
domains = +use_rbl_domains
# only smtp.dnsbl.sorbs.net = 127.0.0.5
dnslists = sbl.spamhaus.org : \
relays.ordb.org : \
dnsbl.sorbs.net=127.0.0.5
# Next deny stuff from more "fuzzy" blacklists
# but do bypass all checking for whitelisted host names
deny message = to unblock $sender_host_name see http://www.example.com/
hosts = !+relay_hosts
domains =+use_rbl_domains
!authenticated = *
# dnslists not including spam.dnsbl.sorbs.net
dnslists = bl.spamcop.net : \
dnsbl.njabl.org : \
cbl.abuseat.org : \
dnsbl.sorbs.net!=127.0.0.6
deny message = to unblock $sender_host_name see http://www.example.com/
domains =+use_rbl_domains
# rhsbl list is name based
dnslists = rhsbl.sorbs.net/$sender_address_domain
So that stuff should be working right?

Question 1: how can I make sure this is actually working? I see a lot of rows in my /var/log/exim/rejectlog but all is "rejected RCPT". Can't find any messages about RBL or similiar...how does a row for a rbl rejected message look like?
Question 2: To add another list I guess all I need to do is to add it to all the dnslists strings?
Question 3: This http://www.example.com/ , have you guys changed that on your server?
That is used for manually adding a banned host to the whitelist file, correct?