Hi, I've migrated my old Ubuntu 18.x server to a new Ubuntu 24.x installation. I've used the normal installation procedure to install mail, dovecot etc. Now rspamd seems to be a bit trigger happy on legitimate mail mainly with the following 2 items: HFILTER_HOSTNAME_UNKNOWN (2.5) MX_MISSING (3.5) I am not entirely sure what the first message is looking for but with the legitimate mail that got marked all hosts in the headers have a ptr record. Same for MX_MISSING (or sometimes MX_INVALID) they all got proper MX and a working mail server. Now I thought /etc/rspamd/local.d/options.inc might be wrong as it had the DNS set to 127.0.0.1 while the resolv.conf is set to 127.0.0.53 but changing that didn't fix it. Can anyone give pointers to fix this for legitimate mail as I did not have this at my previous install
Did you install ISPConfig with the automated installer? The resolv.conf should say "127.0.0.1" as the unbound services does listen on 127.0.0.1:53
Have you tested if you can resolve domains from your server? Ypi could e.g. try pinging a domain name that's not on your server and see if ping is able to resolve that domain.
Yes they all resolve normally. It seems tho as if rspamd itself is listening on port 53 and not unbound fi. I am not awake, what I was looking at are obviously DNS requests *duh*