On 2020-07-08 15:47, Carsten Schoenert wrote:
Am 08.07.20 um 20:09 schrieb Gary Dale:
Have you tried this recently?
Sure, otherwise I wouldn't have written it. I've done this many times
over the years.
Right now, I can copy a single folder (apparently) but it is empty in
the IMAP inbox. I have to then copy the e-mail the POP3 folder
contains. I will further note that only the first copied folder shows
up even after I restart Thunderbird.
No need to do single step copies here and I never have done such things
this way.
This is basically the change visible by git status if I drag and push a
folder "Debconf Announce" from my T-Online account to my GMail account.
Do you think I want to do it this way? This is how Thunderbird makes me.
I have to create the first level folder structure in the IMAP account,
then restart Thunderbird so I can actually see them. Thunderbird doesn't
show them until it gets restarted. Then I can create the second level
folders.... Once the folders are finally created, I can copy the e-mail
into the appropriate folders but this is a long and tedious operation
because it can only be done one folder at a time.
$ LANG= git status --short
Refresh index: 100% (622/622), done.
M "ImapMail/imap.t-online.de/INBOX.sbd/Mailings.sbd/Debconf Announce.msf"
M ImapMail/imap.t-online.de/INBOX.sbd/Mailings.sbd/Debian-Mails.msf
M global-messages-db.sqlite
M session.json
M xulstore.json
?? ImapMail/imap.googlemail.com/[Google Mail].sbd/Debconf Announce.msf
The file ImapMail/imap.googlemail.com/[Google Mail].sbd/Debconf
Announce.msf with the mbox format is created.
$ file ImapMail/imap.googlemail.com/\[Google\ Mail\].sbd/Debconf\ Announce.msf
ImapMail/imap.googlemail.com/[Google Mail].sbd/Debconf Announce.msf: Mozilla
Mork database, version 1.4
...
Sorry, but again this doesn't work. I noted that Thunderbird does create
a .sdb folder for folders that contain other folders, but not for
folders that only contain e-mail. This is the same for both mail account
types but copying the folders from a POP3 account to an IMAP one results
in the removal of the folders and files the next time Thunderbird starts up.
I don't have any more POP3 based account for a long time so I can't
readjust your specific case. But this shouldn't matter, the storage
engine is the same, the mbox file format.
I've played around with the behavior of .sdb folder together with .msf
files also long ago. Basically you can copy the .sdb folder anywhere,
you also need to create an equally named empty file .msf too then, the
folder will already then be visible so far I remember, once you tell TB
to compress the folder TB will recreate the index data for the folder
and all emails are readable again.
Except that Thunderbird deletes everything it didn't create. So there
are no files for it to reindex.
Thunderbird apparently only accepts folders that it creates within an
IMAP mailbox. And as per my e-mail at 10:13 EDT, it doesn't even make
that easy.
Well, it's all done by files and folders so no deep magic here. The
files and folders are the same. The created folders/files doesn't know
anything about the email server over them.
However it seems like Thunderbird has its own ideas of what is proper. I
suspect that its getting it folder information from the remote server if
it's not storing it locally. Either way the folders are wiped out.
Perhaps at one point Thunderbird behaved better, but it's not doing
things all that well right now.
I don't think so, the engine inside Thunderbird is quite old regarding
to copy or move emails between folders and or accounts. There hasn't
happen invasive changes in the near past. And your report about problems
is the first to this topic since I've taken over the main maintenance
for Icedove/Thunderbird.
If this all isn't helpful for I'm sorry I can't help you more.
To my experience issues like this are in 90% grounded on bad behavior of
AddOns. Similar reported issues aren't reproducible by removed or
deactivated AddOns and on fresh clean profiles. As I don't know about
your potential AddOns I'm also not able to help on debug your issues.
But also Yahoo did change their API often in a non RFC compliant way.
But the last modification on this is long ago.
The Debian wiki has some more hints about issue reporting, in case you
haven't noted this already.
https://wiki.debian.org/Thunderbird#Bug_Reporting_.2F_Issues
There are also some hint on debugging activity, you will need to replace
references to icedove with thunderbird mostly.
https://wiki.debian.org/Icedove#Debugging
The reference to icedove is probably just the folder used to store
e-mail. The fact that it says icedove just shows when the accounts were
set up in Thunderbird. Before then I was using Netscape with it's
integrated mail program - when it got split up, I had to recreate the
account setup but mostly kept the mail folders. I have a few newer
accounts that go into .icedove but others actually use a very old
Netscape file structure on a shared device. I tried moving the IMAP box
to .icedove but that doesn't seem to have helped with the problems - not
even noticeably speeding up the copies.
The only add-on I have is the one to manually sort the accounts,
something that Thunderbird probably should do by itself - seems like an
almost trivial operation...
The reason I'm going through this is because Yahoo doesn't let me send
mail from the POP3 account and Thunderbird stops downloading POP3 e-mail
every couple of days. It seemed like time to bite the bullet and switch
to IMAP but the process is far more painful than it really should be.
I could ask why doesn't Thunderbird support switching from POP3 to IMAP
(and vice versa). On the face of it, it looks like simply changing some
names and values - which is what you also seem to be claiming. Instead
this is a multi-day effort that I am only partway through.
re. testing: I don't see any reason why you can't test this between two
IMAP accounts but then Thunderbird seems to be doing lots of
unreasonable things.