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

A. Schulze sca at andreasschulze.de
Thu Mar 24 11:15:27 UTC 2022


Bernardo Reino:

> 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.

I also see reports bouncing. This record seem to trigger the error:
https://dns.google/query?name=_dmarc.arcsin.de&rr_type=TXT

Andreas



More information about the Users mailing list