g4rf / dockerized-mailcow-mailman

This guide aims to install and configure mailcow-dockerized with docker-mailman and to provide some useful scripts.
MIT License
3 stars 3 forks source link

Rspamd reject if DMARC mitigation is used #8

Open rkcreation opened 3 weeks ago

rkcreation commented 3 weeks ago

I'm trying to fix some deliverability issues with @gmail.com addresses, and I try to use the DMARC mitigation "munge_from" (that force From header to be the list mail address), but Rspamd reject message SPOOFED_UNAUTH flag (score 50).

It seems that Mailman is not recognized as a valid sender.

I try to change rspamd rules, but if anyone has an idea I'll take it!

rkcreation commented 3 weeks ago

It seems that mailman internal IP needs to be added to allowed forwarding hosts in Mailcow UI

For my setup, it's 172.22.1.1, but it's weird because it's working (I can send emails to lists) but it's not a mailman IP neither a mailcow IP (but it's in mailcow IP range), I can't figure out which container

If someone has an idea...

rkcreation commented 3 weeks ago

maybe some help here : https://docs.mailcow.email/manual-guides/Postfix/u_e-postfix-unauthenticated-relaying/