-
Notifications
You must be signed in to change notification settings - Fork 16
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
No Message-ID header #51
Comments
I did not add it, because there is no guarantee that SMTP server will accept it. It's the job of SMTP server to add that header and a lot of server will over-write it if specified by mail user agent like mailsend. I will think about adding an option. In the meantime you can use header command to add a customer Message-ID. Example:
Thanks. |
as long as it follows the format specified in the RFC, it should. i think mailsend should at least try. |
You may get different results in Postix using port 587 vs 25. A submission server may add a message-id (bad client), but a relay is prohibited from doing so. RFC5321. |
mailsend-go
(andmailsend
, for that matter) does not generate theMessage-ID
header, which is mandatory.GMail recently began rejecting messages without it[1], so when sending to Gmail wither directly to mx or via a relay that is not kind enough to add it[2], the message bounces.
[1]
550-5.7.1 [...] Messages missing a valid messageId header are not 550 5.7.1 accepted
[2] e.g. Postfix does not, by default, but can be made to by setting
always_add_missing_headers = yes
The text was updated successfully, but these errors were encountered: