-
Notifications
You must be signed in to change notification settings - Fork 60
Automatically populate the Message-Id header. #81
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
Comments
SMTP servers in general add Message-ID if it is missing. Reference the Just set the header. Note that the above works, correctly, because a conformant ID will be generated automatically and stored ("cached") on first access. Assignment of an explicit |
I don't suppose you could give the The reasons this is not performed in the constant declaration at the top of
(Edited to add: apologies for the commit spam there, it's been a long day. Latest run is all good: https://travis-ci.org/marrow/mailer/builds/580962733) |
Thank you for the fix. Sidenote: Most SMTP servers should add their own message id if there is not one already there, but it is not default config in postfix, which I guess most - especially the big - mail providers use. |
There's a release process, I follow it.
It is generally good practice to utilize stable, published, release versions. I'm, however, asking the reporter of an issue to check to see if the issue initially reported is actually corrected by the "fix". Otherwise it's not a "fix", it's "just more dead weight", and is absolutely pointless to release, breaking or otherwise. ;P If actually fixed, I can consider rolling a release (after writing a regression test): master branch merge + actual Pypi package release. Edited to add: and you seem to have given no indication on if you have tested it or not, successfully or not. :/ |
Sorry, I misunderstood your former comment. I tested the develop branch and your fix works. A message id is added to the header without having to append it manually. |
Awesome, thanks! :D I'll see what else I can complete for this release, with an estimated release time for this patch (4.0.3) scheduled for Friday. There's a much larger breaking change (breaking at the packaging level itself, not just code using the package) I'll also see about finalizing for this week-end (5.0). I'm aiming for the major bump to be API compatible (no major changes there, just in packaging). Have a great day! Edited to add: if you depend on this Message-Id fix, I'd strongly recommend pinning your version numbers a la |
Sending mails with marrow.mailer results in mails without message ids (MID) for my own mailserver and a big one I tested against. (while a third mail server adds its own message id)
The (valid) message id I try to set via
message._id
doesn't get sent.Mails without a message id get very much higher spam ratings and is against the standard. I see the code referring to generating a message id if there is none set (which I assume to be default) though, so I am unsure why no message id is received.
The text was updated successfully, but these errors were encountered: