[Rspamd-Users] DMARC reports being sent to "nil" address

Bernardo Reino reinob at bbmk.org
Wed Mar 23 07:49:45 UTC 2022


Hello,

I just noticed a delivery error due to rspamd trying to send a DMARC 
report to an invalid address ("nil at DOMAIN", where DOMAIN is the affected 
domain, which I'll try to avoid posting).

The DMARC records for that domain has:

$ dig +short TXT _dmarc.DOMAIN
"v=DMARC1; p=quarantine; sp=reject; adkim=s; aspf=s; 
rua=mailto:dmarc-reports at DOMAIN,https://DOMAIN/nonexistent; 
ruf=mailto:dmarc-reports at DOMAIN; rf=afrf; pct=100;"

So the reporting address includes a normal e-mail (dmarc-reports at ...) as 
well as a URL, separated with a comma.

My guess is that RSPAMD cannot parse the URL as an e-mail address, and 
returns "nil" instead, so it attempts to send the report to nil at DOMAIN.

Note that I don't know right now whether adding a URL to the DMARC 
reporting address is valid or not. But RSPAMD should handle the error in 
any case.

Cheers,
Bernardo


More information about the Users mailing list