Hi mailinabox forum,
I have had a search about and I cannot find anything directly relating to the issue that I am having, but I seem to be having problems with mail from valid domains being tagged as spam and thus quarantined. On closer inspection is seems that opendmarc is flagging these particular messages with SPF fail, and and closer inspection still this appears to affect domains that use SPF macros. For example a domain that has the likes of:
When testing “ordinary” domains with regular SPF information, all tests are good.
To give some history on this, this seems to be happening on all three of the mail servers I maintain using this very helpful put together stack, although I should point I have some “minor modifications” which I totally understand are not supported. I am still running 53a on Ubuntu 18.04LTS , I have not yet plunged into deploying the 6x version on 22.04 as of yet…
Any tips from the community on debugging opendmarc? From the looks of it when I did a packet dump looking for DNS, I can see the DNS lookups for the main SPF lookup taking place, but no attempt to parse this and then perform lookup the likes of
IN TXT 188.8.131.52._ip.ehlo.domain.com._ehlo.domain.com._spf.vali.email
Does anyone know if this is simply not support in opendmarc? As I said not a lot of results came with my googling, and I haven’t asked chatGPT yet ha.
Tips and pointers would be greatly appreciated, but please be gentle in replies to my acknowledged “modified” mailinabox setup. I would like to add that I have tested a vanilla install as well, but the same results, opendmarc doesn’t seem to want to play nicely with macros.