Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RequiredHeaders gives no useful SMTP response #202

Open
ghen2 opened this issue Feb 6, 2022 · 0 comments · May be fixed by #203
Open

RequiredHeaders gives no useful SMTP response #202

ghen2 opened this issue Feb 6, 2022 · 0 comments · May be fixed by #203

Comments

@ghen2
Copy link

ghen2 commented Feb 6, 2022

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant