User Help for Mozilla Thunderbird
I've just moved from POP3 to IMAP with my e-mail account in Thunderbird, in order to manage my messages and folders also through the smartphone, for quick replies and less important questions, like reading newsletters.
However, I noticed that if I send an e-mail from my webmail, when Thunderbird synchronizes its "Sent" folder with the server one, and so downloads the message I sent through the Internet, it doesn't recognise such a message as a reply, and it doesn't include it in the related thread.
This is a bit annoying: I've been using the "thread" visualisation in Thunderbird with since years: it's comfortable, also to view the single messages as parts of the same conversation.
Generally, I see that with IMAP there's some difficulty for Thunderbird to understand the belonging of the messages to the conversations.
I fear that this depends also on the remote e-mail server. Is there something I could do, mauybe to assign manually a message to a conversation?
There isn't a way to do this natively if the message doesn't contain a References or In-Reply-To header to a parent mail (or using a trick like threading by subject). However, the TotalMessage extension implements drag and drop rethreading and I believe HeaderTools lets you edit headers to achieve this.
Threads are identified by hidden resources that you see in the source code. Some programs discard that information when you reply to a message. Then Thunderbird cannot do anything afterwards. Likewise, if the webmail program throws all replies in the Sent mail folder, then there is nothing you can do – except manual labour – to keep them in the same folder as the original message.
This is one of the reasons why I rarely reply to messages via webmail or by phone.
There is a difference between recognizing a message as a reply and as part of a conversation. Usually a reply is part of a conversation, but a separate flag is used to indicate that its a reply. Thunderbird typically uses the References/In-Reply-To headers to determine if a message is part of a conversation. If you reply to a message using webmail that won't set the reply flag for the message in the inbox.msf file and/or update the X-Mozilla-Status header in the mbox file, so when you look at that folder listing in Thunderbird it won't understand that its a reply. But either a References or a In-Reply-To header should still be there for Thunderbird to recognize its part of a conversation .
I'm not aware of any differences between POP and IMAP accounts that would effect recognizing threading. http://kb.mozillazine.org/Stop_threading_by_subject mentions several settings that effect whether Thunderbird recognizes a messages part of a thread. I suggest you use view -> message source or control-U and look at the headers of the message and figure out if the information was available for Thunderbird to recognize it as part of a thread, and was Thunderbird probably configured to do so. It might be as simple as you're configured to rely only upon the subject to recognize threads, and webmail didn't add the Re: prefix.
Did your problem go away? I'd be happy to look at a sanitized copy of the headers for a message (where you replaced any email addresses with some generic text) and try to figure out whether it should have been treated as part of a conversation if you used default thread settings. You can use control-U or view -> message source to look at the raw message source.
Dear alta88, dear mgagnonlv, dear tanstaafl,
Thank you and thank you again for yor support and suggests.
@tanstaafl: as soon as possible, I will check the aspects tou are mentioning to, and will post here some headers.
This is an e-mail I sent to a friend, which would become the beginning of a conversation:
The first of my friend's replies:
And this is a reply I sent from my Webmail (or maybe I edited in the Webmail, after creating it in Thunderbird):
So, the problem of the threading loss appears if I edit through the Webmail also a reply I started writing in Thunderbird.
It seems that whatever the Webmail touches, this goes damaged forever.
What do you suggest me? Is there a way to Re-thread a message manually, as an alternative to TotalMessage? I don't like so much the way it modifies the look of Columns and Headers. Any other extension?
Edited by moderator (tanstaafl) to wrap some lines (mainly DKIM headers which aren't need anyways) to make it fit on the screen.
The first reply has both a References: and a In-Reply-To header whose value equals the Message-ID: header of the message you sent. That's exactly what you want. The reply you sent via Webmail doesn't include either of those headers, so I wouldn't expect it to show up as part of the conversation. If it had the same Subject with a Re: prefix and your friends email client was configured to also test the Subject it could work around that. I suspect it wasn't configured to do that since its more error prone, and those two headers have been required by the rfc's for at least 15 years.
You could use the Header Tools Lite add-on to edit the message and copy and paste the References: and In-Reply-To header from the prior message, if you don't like the TotalMessage add-on.
I suggest you see if the problem goes away if you don't use webmail to reply to an existing conversation. It shouldn't cause any problems starting a conversation, because it will add the Message-Id: header needed to uniquely identify the message, that the References: and In-Reply-To header will reference.
Thank you tanstaafll.
I began experimenting with Header Tools Lite, trying to understand its operation and the logic under the "Thread view" in Thb. But it's not so clear, to me. In particular, what are the differences between pasting an ID into References or In-Reply-To?
Anyway, more than the "Thread view", I feel really comfortable with the "Conversation view", which is a bit different and more accurate: in a single sight I can browse the entire structure of a verbal crossfire, a "conversation", indeed, with all the messages and replies -both from me to my recipients and from them to me- organized in a multi-tree. And, next to every e-mail, the folder in which it is stored. Really useful.
I receive a message (1) from a friend, to which I (unluckily) have to reply through the webmail, due to urgency. So, this reply (2) will lose all the references to the original e-mail, and in the so-called Conversation view, Thb will not show me it as a reply. In turn, my friend also replies (3) to my message, and, depending on its client/webmail/server, it will mantain or lose the references to my reply (2) and/or to his first e-mail written to me (1). So, how to re-form the headers, so that I will see all the three e-mails properly related in the "Conversation view", and the two e-mails from him showed into the Inbox folder as belonging to a single Thread, with the (3) as son of the (1)? I don't want the replies from me (2) to be shown in the Inbox folder, but to be kept in the Sent folder. For a global sight, ther's the Conversation window, indeed.
An explanation from you would be very very appreciated, or maybe a simple tutorial/guide on the net. So that I can understand how to behave in general, whenever I want to re-built a Conversation editing the single headers, and correct errors caused by the webmail disturbances.
My impression is that either the References: (Thunderbird checks for it first) or In-Reply-To: (checks for it second) header is sufficient, though setting both would be best because the less assumptions you make about how conforming to the rfc's the recipients email client is, the better. If its missing use the header tools lite add-on to edit the message, adding the References: header. Set it equal to the Message-Id of the original message. I'd add it before the Content-Type header. Thunderbird seems to add References: right after the To: and In-Reply-To: right after the MIME-Version: but I've seen those headers in multiple locations.
Think about creating a dedicated folder for each person you regularly correspond with. You'd create a message filter to move any incoming new mail to the corresponding folder for that person. Check "place replies in the folder of the message being replied to" in the accounts "copies & folders" settings. Once you do that, and manually move any existing messages, if you reply to a message in the current folder all of your correspondence with that person should be in "their" folder. Its a bit of work, but seems to be the best way to completely view a conversation. If some of the messages in a conversation are in the inbox and some in the sent folder you're not going to see the whole conversation. However, this scheme is not going to work well if you intermingle replying via Thunderbird and via webmail because webmail won't save replies in the same location. Its a tradeoff.
Thank you tanstaafl.
Some days from our last contact, but I wanted to experiment.
I'm quite devoted to the Conversation view, because any message I select, both in Inbox and Sent folders, if I press Ctrl+Shift+O I immediately can view in a separate new tab the structure of the e-mail; it's a comfortable and lightweight way, both for me and Thb.
Moreover, I'd prefer not to create single folders for every correspondent/friend, as you suggest, because in fact what I call my "Conversations" are most of all brief correspondences with lots of different and new contacts, more than long conversations with a few friends. And, you're right, with webmail I could encounter further troubles, because it doesn't apply the rule place replies in the folder of the message being replied to. And it's comfortable for me to still mantain Inbox and Sent as separate folders; maybe only a matter of habit, I don't know.
So, I'm trying to understand how to operate on the header of an e-mail to correctly re-assign it to its Conversation, positioning it in the proper point of the structure. But it's not so simple; in particular, I notice that Thunderbird often doesn't have the Message -> Open in Conversation command active, and I really don't know why. In theory, it should be able to open the Conversation tab for every message, also as the unique item of the Conversation (for example, an e-mail received for the first time from a quite new contact). And sometimes this is possible, indeed. But often this is forbidden: the command is disabled, also for messages correctly recognized, in the Thread view, as part of a larger conversation. And there are other e-mails of the same conversation that I can open in a Conversation tab: that way, it happens that also the e-mails woth the command "Conversation" disabled are included in the structure.
It seems that References: and In-Reply-To: are not the only headers to work with. Or not completely that way, at least. For example, I see that References: admits more than one ID, both from the first e-mail ("root e-mail") and the following ones (following replies and others), but I can't understand how to list them: which ID first?.
A little boredom. The fact is that, in the end, IMAP is precious and comfortable, for me.
Most of all, I can immediately find all my drafts on the smartphone or wherever, and I can edit them on the go, when I'm around outside. I can eventually decide to send them through Thb, later, not to encounter troubles with the headers, but I can accomplish them, at least.
Any of your suggestions will be really appreciated.
Could you post an example of those two headers with multiple IDs (since they shouldn't have a persons full email address in the header)? If there are any other headers that reference those IDs please include them too.
Dear tanstaafl, here is a typical "Conversation" with 4 messages, as Thunderbird comfortably recognizes it scanning both in the Inbox and Sent folders. The 4 messages, so, belong to different folders: 2 within Inbox and 2 within Sent.
1- At the beginning I wrote a message to my recipient (Message 1);
2- My recipient replied me (Message 2);
3- I replied to his reply (Message 3);
4. He replied to this last e-mail I sent him (Message 4).
It would be wonderful if you help me to understand what voices in the headers of the messages Thunderbird uses to recognize the Conversation and properly shows it. In that case, I would be able to edit the headers consciously, adding/removing/correcting them and -in the end- rebuilt the conversation itself. With IMAP, indeed, now no Conversation is recognized correctly: in most cases, the e-mails are listed as single Conversations, made each one of only a unique message. But, more frequently, Conversations are not recognized at all, with the "Open Message in Conversation" command disabled (see previous post).
Your attention and support is very precious, for me.
Message 1 Header:
Message 2 Header:
Message 3 Header:
Message 4 Header:
Dear tanstaafl, could you examine the headers I posted?
Any help from you in understanding this logic will be appreciated!
Sorry about the delay, I lost track of this thread. rfc2822 at http://www.faqs.org/rfcs/rfc2822.html is the standard I looked at.
message1 has Message-ID: header <firstname.lastname@example.org>
A Message-Id header is a way to uniquely identify a message. In-Reply-To and References headers identify what messages are in a conversation by mentioning their Message-Ids. They don't have to mention every message, just the parent messages. What can get confusing is when a conversation starts to get multiple parents.
message2 has Message-ID: <HE1PR0801MB189943662A10A26207C69BAD83B90@HE1PR0801MB1899.eurprd08.prod.outlook.com>
has In-Reply-To: <email@example.com>
and References: <firstname.lastname@example.org>
thats fine, its saying its in a conversation that includes message 1.
message3 has Message-ID: <email@example.com>
has References: <firstname.lastname@example.org>
has In-Reply-To: <20160803170530.2A22E100849@dd31412.kasserver.com>
The References: header seems to be saying its in a conversation with message 1 and some unknown message. I don't understand why In-Reply-To only mentions the unknown message. If message3 doesn't get listed as part of the conversation with message1 and message2 perhaps its because Thunderbird is using In-Reply-To instead of References:.
message4 has In-Reply-To: <email@example.com>
References: <firstname.lastname@example.org> thats message1
<20160803170530.2A22E100849@dd31412.kasserver.com> thats the unknown message again
<email@example.com> thats message 3
The References header seems fine. It mentions your parent message, the unknown message which is probably another parent, and then your message 3 (which I think is optional). If its displayed as part of a 2 message (not 4 message) conversation it might because In-Reply-To only mentions message 3's Message-Id.
I don't know of a setting to tell it to use just the References: header. I suspect the code assumes that if both a References and a In-Reply-To header exist that they may have different values, but should list the same parent messages. In your case, they don't. I suggest you experiment by adding the missing Message-Ids to the In-Reply-To header and see what effect that has.
Who is online
Users browsing this forum: No registered users and 16 guests