mailcow / mailcow-dockerized

mailcow: dockerized - 🐮 + 🐋 = 💕
https://mailcow.email
GNU General Public License v3.0
8.34k stars 1.13k forks source link

Can not disable or remove some DNSBLs from postscreen_dnsbl_sites #5355

Closed sriccio closed 11 months ago

sriccio commented 11 months ago

Contribution guidelines

I've found a bug and checked that ...

Description

Some changes were made recently to the postfix configuration about DNSBls and they are kinda forced into the postfix config.

I guess some people don't want all of these DNSBLs to be used or even, none at all at the postcreen level, as one could want to let rspamd rbl module to handle this (it can for example help training SPAM/HAM).

My original thought was that we could possibly do this by overriding the postscreen_dnsbl_sites in extra.cf, but I had not much success doing it.

Actually the main.cf merging order seems to place the content of extra.cf BEFORE the postscreen dnsbl stuff, so no way to overrid it in extra.cf 😢 IMHO it should be reversed.

EDIT: Submitted this as a bug, because I guess the merging order IS a bug :) EDIT2: Submitted a PR for merging order change - https://github.com/mailcow/mailcow-dockerized/pull/5356

Logs:

Not relevant

Steps to reproduce:

Not relevant

Which branch are you using?

master

Operating System:

Debian 12

Server/VM specifications:

32G, 16 cores

Is Apparmor, SELinux or similar active?

yes

Virtualization technology:

KVM (proxmox)

Docker version:

24.0.5

docker-compose version or docker compose version:

v24.0.5

mailcow version:

2023-07a

Reverse proxy:

None (yet)

Logs of git diff:

Not relevant

Logs of iptables -L -vn:

Not relevant

Logs of ip6tables -L -vn:

Not relevant

Logs of iptables -L -vn -t nat:

Not relevant

Logs of ip6tables -L -vn -t nat:

Not relevant

DNS check:

Not relevant
Shargann commented 11 months ago

Don't you're supposed to change Postfix RBL's in data/conf/postfix/dns_blocklists.cf?

sriccio commented 11 months ago

I think that it is not a problem anymore, since the whole DNSBL config thing has been reworked a few days ago.