DNSBL report incorrect
See original GitHub issueJust upgraded to 1.6.0 from 1.5.1
added new crontab entries then manually ran /srv/modoboa/env/bin/python /srv/modoboa/instance/manage.py modo check_mx
as vmail with no errors. All DNSBL show as listed, my manual checks (where possible) show no listings. using dnsbl.info only dnsbl-3.uceprotect.net shows listed due to my server being a digital ocean droplet (minor issue).
I am unsure how to debug this issue. I have set debugging to True in settings.py is there a log file I can check?
Issue Analytics
- State:
- Created 7 years ago
- Comments:20 (11 by maintainers)
Top Results From Across the Web
Blacklist Removal Process - DNSbl
Technical listings are those that occur mostly from mail server configuration issues such as missing or incorrect reverse DNS records, missing on incorrect...
Read more >Not seeing IP blocks in Deny area of reports tab. DNSBL ...
Not seeing IP blocks in Deny area of reports tab. DNSBL shows up properly. I have many IP block lists that I am...
Read more >Not seeing IP blocks in Alerts area of reports tab. DNSBL ...
I have many IP block lists that I am using, and the IPs that they are blocking(or at least I assume they are),...
Read more >Configuring DNSBL - Axway Documentation Portal
In the DNSBL Source Domain column, enter the fully qualified domain name (FQDN) of a DNSBL server. This is where MailGate gets a...
Read more >arblcheck - Check names/IPs against DNS blocklists
DNSBL Background; Detecting dead or incorrect DNSBLs ... When arblcheck is run without command-line arguments, it reports a short "help" listing that ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This issue is caused by a missing domain entry in the
resolv.conf
file. An empty value might still cause issues in case your hostname is a subdomain (like mail.example.com).@tonioo I suggest to append a
.
at the end of the hostname (which will force the name to be the full DNS name instead of a relative one) (e.g.bl.spamcop.net.
instead ofbl.spamcop.net
)The workaround until then is to add the following line to the
/etc/resolv.conf
:Found the error! I had set a DNS Search Domain in my /etc/resolv.conf. socket.gethostbyname always returned the IP address of my Webserver. The Searchdomain also is the hostname of my Webserver, so it seems, when socket.gethostbyname cannot resolve the Hostname, it takes the IP of the searchdomain.
Removing the Searchdomain fixed this.
(and the script crashes if no MX is present now… mhh did I break something? 😄 the try…catch, doesn’t seem to catch the “dns.resolver.NXDOMAIN” error, which is raised if no MX is present…)
^- forget that, this seems to be already fixed in the current git master…