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

send Message-ID header unconditionally #2108

Closed
slingamn opened this issue Dec 20, 2023 · 1 comment
Closed

send Message-ID header unconditionally #2108

slingamn opened this issue Dec 20, 2023 · 1 comment
Labels
Milestone

Comments

@slingamn
Copy link
Member

slingamn commented Dec 20, 2023

Gmail is rejecting messages without Message-ID unconditionally:

:Could not dispatch registration e-mail: 550 5.7.1 [redacted] Messages missing a valid Message-ID header are 5.7.1 not accepted. For more information, go to 5.7.1 https://support.google.com/mail/?p=RfcMessageNonCompliant and review 5.7.1 RFC 5322 specifications. y7-[redacted] - gsmtp

We send Message-ID iff DKIM is enabled. We should send it in every case.

@slingamn slingamn added the bug label Dec 20, 2023
@slingamn slingamn added this to the v2.13 milestone Dec 20, 2023
@slingamn
Copy link
Member Author

slingamn commented Dec 20, 2023

Could not dispatch registration e-mail: 550 5.7.1 [redacted] Gmail has detected that this message does not 5.7.1 meet IPv6 sending guidelines regarding PTR records and authentication 5.7.1 . For more information, go to 5.7.1 https://support.google.com/mail/?p=IPv6AuthError [redacted] - gsmtp

Could not dispatch registration e-mail: 550 5.7.26 This mail has been blocked because the sender is unauthenticated. 5.7.26 Gmail requires all senders to authenticate with either SPF or DKIM. 5.7.26 5.7.26 Authentication results: 5.7.26 DKIM = did not pass 5.7.26 SPF [my.network] with ip: [redacted] = did not pass 5.7.26 5.7.26 For instructions on setting up authenticati

It looks like we may need an option to force IPv4/IPv6 for sending (I don't think my provider will give me an IPv6 PTR record).

slingamn added a commit that referenced this issue Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant