When I import mbox e-mails (generated by git format-patch) into the Draft folder I see the thread as expected. If I do Send Later on all the messages (I am forced to do it individually per e-mail because I did not find any other way) the messages are moved into the Queue folder. However, the Message-ID is different now and so the thread is broken and the e-mails do not follow as expected. I guess that by clicking on "Send", it will do the same. How can I send such prepared pack of e-mails exactly as they were generated (unchanged)?
Please attach an example message and explain how you import them to the Drafts folder.
Created attachment 1551 [details] File in mbox format containg 3 e-mails The mbox file contains 3 e-mails. The leading e-mails and two that have In-Reply-To: header that points to the leading one.
Created attachment 1552 [details] Screenshot of correct thread in Draft folder Screenshot of imported mbox file into claws Local mailbox into the Draft folder.
Created attachment 1553 [details] E-mails after 'Send Later' in the Queue folder The 'Thread view' is on, but e-mails are now unrelated. The reason is different Message-ID for each e-mail. So the In-Reply-To does not work anymore.
Created attachment 1554 [details] The leading e-mail has different Message-ID then needed The Message-ID should be cover.1438359263.git.XXXXX@XXXXXX.com but it is 20150731182250.6fdc434e@YYYYYY@YYYYYYY.com. This breaks the thread...
When importing (by mailMBOX plugin) the attached mbox file into a local mailbox into the Draft folder and turn on "Thread view" it looks OK (screenshot 1). Then there is no other way how to move the e-mails into the Queue folder then use 'Send Later' one-by-one. So I do for each e-mail "Send Later". They are moved to the Queue folder and the referencing between them is broken. The reason is a different Message-ID for each e-mail (screenshot3). The attached mbox file was created by the following steps: * git format-patch ... * import mbox 0000... * import mbox 0001... * import mbox 0002... * select all * export selected as mbox
Did you try turning off the option 'Generate Message-ID' on the 'Send' page of your acccount preferences?
I did not know about this option. Unfortunately, this just removes the original Message-ID. So the thread is still broken.
Just for the record, you didn't use the mailMBOX plugin to import the mbox file, but Claws-Mail's standard 'import mbox file'. This is a WONTFIX because Claws Mail generates special internal headers and does other message processing when queueing and sending messages. And also because the proper solution to your problem is to use git-send-mail, https://git-scm.com/docs/git-send-email
You are right. However, for a certain SMTP mail server, the git send-mail fails to log in, while claws works fine. I could not figure the reason to report it. So I tried this way which is quite good because I can easily review that the e-mails are correct and it leaves a history in my client... Anyway, thanks for your time.
Try importing them to a normal folder and then using 'Redirect' to send them.
This preserves the thread. However, I have to manually insert the recipient again and there is a (for this purpose) strange header "Jan Viktorin <viktorin@XXXXX.com> (by way of Jan Viktorin <viktorin@XXXXX.com>)" I must edit each e-mail manually. For 1-3 e-mails good, but not for 10+ ;).
This is, by the way, quite strange. When redirecting, I can insert _any_ recipient and it preserves the orignal ones. Nice, but isn't it a bug? Another point. If redirecting from the same e-mail address, is the addition of "by way of" (with the same e-mail) needed? I find it quite redundant.
(In reply to comment #13) > This is, by the way, quite strange. When redirecting, I can insert _any_ > recipient and it preserves the orignal ones. Nice, but isn't it a bug? Not at all, this is how redirecting works. > Another point. If redirecting from the same e-mail address, is the addition > of "by way of" (with the same e-mail) needed? I find it quite redundant. Just make sure you set 'Keep original From header when redirecting' turned on, found on /Configuration/Preferences/Compose/Writing.