OpenDMARC icon indicating copy to clipboard operation
OpenDMARC copied to clipboard

RequiredHeaders gives no useful SMTP response

Open ghen2 opened this issue 3 years ago • 0 comments

Hi

I'd like to enable RequiredHeaders, but I noticed it provides no useful SMTP response, just a plain "550 5.7.1 Command rejected" (a Postfix default value?)

However the logs do contains a useful explanation like "RFC5322 requirement error: not exactly one Date field" or "RFC5322 requirement error: missing From field". Would it be possible to return this information in the SMTP response as well, so the client has an indication why his message got rejected? (as it is expected to reject some legit e-mail as well)

ghen2 avatar Feb 06 '22 15:02 ghen2