Closed Bug 721549 Opened 12 years ago Closed 9 years ago

Bugmail No Longer Threads in Gmail

Categories

(bugzilla.mozilla.org :: General, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: tgavankar, Unassigned)

Details

It seems like ever since early January (around 1/2/2012), Bugzilla emails that are sent/forwarded to gmail no longer thread correctly. Inspecting the headers, there seemed to be some changes in Message-ID as well as others.

Here are 5 emails I have that are of the same bug, the first of which is the "New:" email (not threaded, as it used to as the subject is different), next two update emails are threaded together (correctly, as expected), and the final two are not threaded with anything.

New: http://pastebin.mozilla.org/1463491
Threaded 1: http://pastebin.mozilla.org/1463492
Threaded 2: http://pastebin.mozilla.org/1463493
Unthreaded 3: http://pastebin.mozilla.org/1463494
Unthreaded 4: http://pastebin.mozilla.org/1463495


This seems like a common issue that multiple users who have bugmail forwarded to Gmail have experienced.
i can't see any bugzilla changes that would have touched on mail at around that time.
one telling difference is that's when zimbra was updated.

justdave: any ideas here?

threading in gmail has always been weird -- it doesn't seem to honour the same headers which most other email client use for threading.
there's a yammer thread about this, and there's a lot of WFMs on there.

mossop has indicated this is broken for him:

<glob> Mossop, does any bugmail thread?
<Mossop> Doesn't seem to for me
<glob> Mossop, even for bugs filed after early jan?
<Mossop> I don't think any bugmail I received since it first started happening has threaded


the relevant headers from a working email tgavankar referenced are:

Message-ID: <356473908.7124.1325311044915.JavaMail.root@zimbra1.shared.sjc1.mozilla.com>
In-Reply-To: <bug-714282-383205@https.bugzilla.mozilla.org/>
X-Mailer: Zimbra 6.0.8_GA_2661

and currently:

Message-ID: <bug-714282-383205-D5rjeF2o4B@https.bugzilla.mozilla.org/>
In-Reply-To: <bug-714282-383205@https.bugzilla.mozilla.org/>
X-Mailer: Zimbra 7.1.3_GA_3374


looks like old zimbra was always overriding the message-id, which new zimbra no longer does.


tgavankar, are you able to provide the message-id and in-reply-to headers for bugmail from recent bugs, rather than one which straddles the working/broken boundary?
Looking in my gmail bin I see bugmail stopped threading on 31st December for me, indeed the last to thread I received at 5am and it came from the old zimbra and the next that should have threaded but didn't came at 9am through the new zimbra.
Perhaps helpful, mail from tryserver still threads ok, they have no Message-ID in their headers.
(In reply to Dave Townsend (:Mossop) from comment #4)
> Perhaps helpful, mail from tryserver still threads ok, they have no
> Message-ID in their headers.

Oops I lied, they have one too
mossop forwarded me the following sets of headers:

Subject: [Bug 718230] console.log no longer logs to the error console
 starting in SDK 1.4
Message-ID: <bug-718230-91159-IuHIW9EeiE@https.bugzilla.mozilla.org/>
In-Reply-To: <bug-718230-91159@https.bugzilla.mozilla.org/>

Subject: [Bug 718230] console.log no longer logs to the error console
 starting in SDK 1.4
Message-ID: <bug-718230-91159-RBiJRZd2IM@https.bugzilla.mozilla.org/>
In-Reply-To: <bug-718230-91159@https.bugzilla.mozilla.org/>

same subject, same in-reply-to, gmail isn't threading them.  wtf gmail?
Here're the requested headers from the emails for this bug report (so within the past 12 hours)

Message-ID: <bug-721549-383205-54JPzvGetz@https.bugzilla.mozilla.org/>
In-Reply-To: <bug-721549-383205@https.bugzilla.mozilla.org/>


Message-ID: <bug-721549-383205-P93GC1l5tg@https.bugzilla.mozilla.org/>
In-Reply-To: <bug-721549-383205@https.bugzilla.mozilla.org/>


They are not threaded.
Also, if it helps, Django server error emails for support.mozilla.org are threading fine, and have:

Message-ID: <20120127173709.6922.59790@support2.webapp.phx1.mozilla.com>

There is no in-reply-to. I can pastebin the entire email if you want.
this appears to be only impacting users who use their mozilla.com address on bmo, and then forward bugmail to gmail.  threading is working for people using their gmail account on bmo.
Here's what I have, I do the forwarding method:

https://gist.github.com/1706145

Is there anything glaring there?  Is this due to Zimbra upgrades, perhaps?
i've tried resending a few of tgavankar's non-threaded emails, with full headers, to my gmail account, and gmail threaded them fine.

everything i've read points to gmail threading by the subject.

http://www.sensefulsolutions.com/2010/08/how-does-email-threading-work-in-gmail.html is interesting; and the first comment there notes gmail also uses the "references" header (which bugzilla is sending).
One difference that I noticed between the emails that thread and the ones that don't is that the new message IDs (and thus also references: headers) have a trailing /. From reading the spec, I'm not completely sure that that's legal, but even if it is, that could be a bug in gmail that such emails aren't threaded right.

That said, I wish we knew someone on the gmail team who could help debug the issue.
So it's threading for me now.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Perhaps because you're not using mozilla.com as your bugmail address anymore? The problem persists for me.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Oh carp, you are right, sorry, I forgot I had done that.
closing stale bug.
Status: REOPENED → RESOLVED
Closed: 12 years ago9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.