Hey. I’m relatively new to Mailcow. I’ve got a Hetzner VPS with IPv6. Oddly, even after reinstalling Debian and switching to Ubuntu… I’ve still always received “HFILTER_HOSTNAME_UNKNOWN” as a reason to bounce almost all emails. Most of which comes from IPv6 addresses and says something about “Invalid PTR” sometimes, but oftentimes its IPv4 servers as well…
It’s super annoying and the one thing that’s stopping me from happily using Mailcow as my daily driver.

Does anyone know how to fix this, or even just not bounce incoming mail for “HFILTER_HOSTNAME_UNKNOWN”?

More info: It sounds a lot like this, though nothing here or on any other issue helped me: GitHub Icon rspamd symbol HFILTER_HOSTNAME_UNKNOWN · Issue #3168 · mailcow/mailcow-dockerized


I’ve checked everywhere and even created my own issue… But I understand why it has not received a response and may not in the future. It seems like a “me” issue but having reinstalled and even switched OS, setting up everything a total of 3 times and STILL having this issue… It’s incredibly annoying. I have logs and more info here: GitHub Icon Almost all IPv6 emails incoming bounce · Issue #4712 · mailcow/mailcow-dockerized
GitHub Icon GitHub
Almost all IPv6 emails incoming bounce · Issue #4712 · mailcow/mailcow-dockerized
Contribution guidelines I've read the contribution guidelines and wholeheartedly agree I've found a bug and checked that ... ... I understand that not following the below instructions will result i...
Contribution guidelines I've read the contribution guidelines and wholeheartedly agree I've found a bug and checked that ... ... I understand that not following the below instructions will result i...

2 years later

Have something to say?

Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!

SGibbins

These steps seems to have solve my problem

Disable ipv6 docs.mailcow.email Icon Disable IPv6 - mailcow: dockerized documentation

Add 3 lines below to data/conf/rspamd/local.d/options.inc

local_addrs = [127.0.0.0/8, ::ffff:127.0.0.0/104, ::1/128, fe80::/10, 172.22.1.0/24, fd4d:6169:6c63:6f77::/64, 192.168.2.0/24];
smtp_address_preference = ipv4;
inet_protocols = ipv4;

from this post
mailcow/mailcow-dockerized5826

No one is typing