Brummolix / AutoarchiveReloaded

Thunderbird extension for autoarchiving mails
Other
19 stars 6 forks source link

Loosing messages and error in MessageArchiver.jsm #89

Open jamacoe opened 11 months ago

jamacoe commented 11 months ago

I'm trying to archive a huge mail account (124 GB) with a lot of big IMAP folders. I think I'm loosing emails. This is a protocol from the error console (extended messaging on) archiving from the IMAP folder claims@<myDomain>.com/Schäden bearbeitet. What's happening?

Archive of messages older than 630 days (28.03.2022):

17.12.2023, 17:26:18 - AutoarchiveReloaded - INFO: start real archiving of 'Schäden bearbeitet' (869 messages) in account 'claims@<myDomain>.com' background.js:120:17
Archive failed to copy: 2153054241 MessageArchiver.jsm:366:15
    OnStopCopy resource:///modules/MessageArchiver.jsm:366

Several messages older than 630 days have not been archived. They all have in common that they have a subject and a pdf attachment, but no body text. These messages appear only in an Outlook client, not on Thunderbird or AppleMail. Strange. Several messages younger than 630 have also been archived, but not all. And two much younger messages were copied from source to target, but not deleted at source:

21.11.2023 16:59 Anton Groß in claims@…/Schäden bearbeitet
21.11.2023 15:04 Anja Pervaz in claims@…/Schäden bearbeitet

Doing it once again:

17.12.2023, 19:24:28 - AutoarchiveReloaded - INFO: start real archiving of 'Schäden bearbeitet' (504 messages) in account 
'claims@<myDomain>.com'
Archive failed to copy: 2153054241 MessageArchiver.jsm:366:15
    OnStopCopy resource:///modules/MessageArchiver.jsm:366

=> Same error. But there were only 504 messages to achive this time. No I have 1.455 Messages in the archived IMAP folder.

Once again:

17.12.2023, 21:49:56 - AutoarchiveReloaded - INFO: start real archiving of 'Schäden bearbeitet' (338 messages) in account 'claims@<myDomain>.com'

No there were no more errors. There are 1.792 messages in the archive folder. One seems to be missing. I expected 1.455 + 338 = 1.793 messages. I the source folder there are now 26.509 messages.

Now I'm changing the setting from 650 days to 600 to archive more messages. Run without any error, but: The error console reported that there are 1.060 messages to archive. So I was expecting 26.509-1.060 = 25.449 messages in the source folder, and 1.792+1.060 = 2.952 in the target archive folder. The source folder count was ok after archiving, but the target folder only contains 2.847 messages. So 62 were lost.

Thunderbird 115.5.2 | AutoarchiveReloaded 1.0.0.6