Issue #7315 new

duplicate Message-Id in issue comment notification mails (BB-8498)

Jakub Wilk
created an issue

These two comments:

generated notification mails with the message msg-id:

Message-ID: <issues-964630acc7914a0d4881b8f43f753ded/>

But RFC 5322, §3.6.4 reads “The message identifier (msg-id) itself MUST be a globally unique identifier for a message. The generator of the message identifier MUST guarantee that the msg-id is unique.”

Comments (18)

  1. Martin Eden

    As I noted in #9028, this is not just a matter of good compliance with the RFC - there is at least one real world problem caused by this, namely "many mail servers have a filter on them which prevents messages with the same id being delivered multiple times to an individual." So we only receive one email notification about a given issue, before the rest are swallowed up through having the same ID.

  2. James Dempster

    I'm shocked to see how old this issue is. It took some time to trace the problem of emails not arriving to this. But without a doubt this is the issue. A big issue too. Come on bitbucket emails are not arriving due to breaking the RFC!

    Any ideas on an ETA to fix this?

  3. Zach Davis staff

    Hi James,

    Sorry this is causing you problems. I can't give you an ETA, but I am actively looking into the best way to fix this. I'll update this ticket when I have more information.

    Cheers, Zach

  4. Abhin Chhabra [Atlassian] staff

    Hi James,

    I have a fix out for review, but I'm going to spend some time writing more tests to avoid breaking related features like mail-pickup (responding to comments by replying to the email). This shouldn't take much more time. I'll keep you posted.

  5. Kevin D. Keck

    I suspect is the source of the puzzling behaviour I've been seeing in Thunderbird: every notification I receive of a new comment on a particular issue/commit/PR has the same message body, reporting (again) the first comment added after I began watching the issue/comment/PR. Apparently Thunderbird pulls up the message body based on that message ID, so it keeps showing the body of the same message, no matter which notification message I try to open.

  6. Log in to comment