[Exim] How to test DNS-Deny lists

Pàgina inicial
Delete this message
Reply to this message
Autor: Jens Strohschnitter
Data:  
A: EXIM Official Maillist
Assumpte: [Exim] How to test DNS-Deny lists
Hi there,

I have added the following parameters in my exim.conf to block domains/ips
of listed spammers in spamhaus.org:

deny dnslists           = sbl.spamhaus.org : \
                            list.dsbl.org : \
                            cbl.abuseat.org : \
                            opm.blitzed.org : \
                            spamguard.leadmon.net
       message            = rejected because $sender_host_address is in a blacklist at $dnslist_domain\n$dnslist_text



After that, I wanted to test this. I have read that I should use the "exim -bh" command.
But how do I have to use this ? A test with a listed IP-Adress from spamhaus.org showes me
the following:

# exim -bh 64.143.3.120

**** SMTP testing session as if from host 64.143.3.120
**** but without any ident (RFC 1413) callback.
**** This is not for real!

>>> host in host_lookup? yes (matched "*")
>>> looking up host name for 64.143.3.120
>>> IP address lookup yielded www.bulkisp.net
>>> gethostbyname looked up these IP addresses:
>>> name=www.bulkisp.net address=64.143.3.120
>>> checking addresses for www.bulkisp.net
>>> 64.143.3.120
>>> host in host_reject_connection? no (option unset)
>>> host in sender_unqualified_hosts? no (option unset)
>>> host in recipient_unqualified_hosts? no (option unset)
>>> host in helo_verify_hosts? no (option unset)
>>> host in helo_try_verify_hosts? no (option unset)
>>> host in helo_accept_junk_hosts? no (option unset)


But I think, exim does not block the ipaddress. Is this correct ?


--
Regards,

     Jens Strohschnitter


-------------------------------------
*!!!LINUX LINUX LINUX LINUX LINUX!!!*

* http://www.jens-strohschnitter.de *
-------------------------------------
Set the controls for
         the heart of the sun
-------------------------------------