[GH-ISSUE #3060] The parameter "disable DNSBL checks" has no effect #1747

Closed
opened 2026-02-27 11:18:54 +03:00 by kerem · 2 comments
Owner

Originally created by @Cooya on GitHub (Sep 11, 2023).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/3060

Impacted versions

  • OS Type: Ubuntu
  • OS Version: Ubuntu 18.04.4 LTS
  • Database Type: PostgreSQL
  • Database version: 10
  • Modoboa: 1.15.0
  • installer used: Yes
  • Webserver: Apache

I tried to disable DNSBL checks in the Modoboa/Parameters/Administration panel :
Screenshot from 2023-09-11 10-59-39
but it has no effect, DNSBL is still enabled in /etc/posfix/main.cf :

# Use some DNSBL
postscreen_dnsbl_sites = 
	zen.spamhaus.org*3
	bl.spameatingmonkey.net*2
	bl.spamcop.net
	dnsbl.sorbs.net
postscreen_dnsbl_threshold = 3 
postscreen_dnsbl_action = enforce

and I still has blocked emails in /var/log/mail.log :

Sep 11 10:26:54 hidden postfix/postscreen[22556]: NOQUEUE: reject: RCPT from [ip]:45263: 550 5.7.1 Service unavailable; client [ip] blocked using zen.spamhaus.org; from=<mn219368-ovh@undelivered.ovh.com>, to=<hidden>, proto=ESMTP, helo=<mo195.mail-out.ovh.net>

The reason that I want to disable DNSBL check is that I have a lot of blocked incoming emails due to the error "blocked using zen.spamhaus.org".

Originally created by @Cooya on GitHub (Sep 11, 2023). Original GitHub issue: https://github.com/modoboa/modoboa/issues/3060 # Impacted versions * OS Type: Ubuntu * OS Version: Ubuntu 18.04.4 LTS * Database Type: PostgreSQL * Database version: 10 * Modoboa: 1.15.0 * installer used: Yes * Webserver: Apache I tried to disable DNSBL checks in the Modoboa/Parameters/Administration panel : ![Screenshot from 2023-09-11 10-59-39](https://github.com/modoboa/modoboa/assets/22602472/f13f26db-d778-4a29-91c6-4acfe78ebf6f) but it has no effect, DNSBL is still enabled in `/etc/posfix/main.cf` : ``` # Use some DNSBL postscreen_dnsbl_sites = zen.spamhaus.org*3 bl.spameatingmonkey.net*2 bl.spamcop.net dnsbl.sorbs.net postscreen_dnsbl_threshold = 3 postscreen_dnsbl_action = enforce ``` and I still has blocked emails in `/var/log/mail.log` : ``` Sep 11 10:26:54 hidden postfix/postscreen[22556]: NOQUEUE: reject: RCPT from [ip]:45263: 550 5.7.1 Service unavailable; client [ip] blocked using zen.spamhaus.org; from=<mn219368-ovh@undelivered.ovh.com>, to=<hidden>, proto=ESMTP, helo=<mo195.mail-out.ovh.net> ``` The reason that I want to disable DNSBL check is that I have a lot of blocked incoming emails due to the error "blocked using zen.spamhaus.org".
kerem closed this issue 2026-02-27 11:18:54 +03:00
Author
Owner

@Spitfireap commented on GitHub (Sep 11, 2023):

Hi, the checkbox is meant for the notification in case your server gets listed on some dnsbl. You have to edit the postfix config manually for the check against external server.
And to resolve your errors you just have to set up a local dns resolver. There are plenty of tutorials on the internet ;).

<!-- gh-comment-id:1713495345 --> @Spitfireap commented on GitHub (Sep 11, 2023): Hi, the checkbox is meant for the notification in case your server gets listed on some dnsbl. You have to edit the postfix config manually for the check against external server. And to resolve your errors you just have to set up a local dns resolver. There are plenty of tutorials on the internet ;).
Author
Owner

@Cooya commented on GitHub (Sep 11, 2023):

OK, I misunderstood the purpose of the option, I must say the documenttaion is not very clear.
I solved the issue by emptying the list of DNSBL sites in the /etc/posfix/main.cf config file.

Thank you for your quick answer !

<!-- gh-comment-id:1713502277 --> @Cooya commented on GitHub (Sep 11, 2023): OK, I misunderstood the purpose of the option, I must say the documenttaion is not very clear. I solved the issue by emptying the list of DNSBL sites in the `/etc/posfix/main.cf` config file. Thank you for your quick answer !
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#1747
No description provided.