Bug 320950 - Importing mails from Thunderbird doesn't work completely
Summary: Importing mails from Thunderbird doesn't work completely
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Migration (show other bugs)
Version: 4.10
Platform: Debian unstable Linux
: NOR grave
Target Milestone: ---
Assignee: kdepim bugs
URL: http://forum.kde.org/viewtopic.php?f=...
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-09 09:30 UTC by Jose Couto
Modified: 2017-01-07 22:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Couto 2013-06-09 09:30:50 UTC
When I run kmailcvt to import my email from icedove (Debian's Thunderbird), it finishes without errors, but some folders doesn't get imported.

Several hours after kmailcvt has finished, the emails' files in the maildir resource continue to grow, whithout having any clue about when the process is complete.

Reproducible: Always

Steps to Reproduce:
1.Erase the KMail/Akonadi/Nepomuk configuration and data with the following commands:

cd ~
akonadictl stop
find .kde .local .config -name '*kmail*' -exec rm -rf \{\} \;
find .kde .local .config -name '*akonadi*' -exec rm -rf \{\} \;
find .kde .local .config -name '*nepomuk*' -exec rm -rf \{\} \;
rm -rf ~/.local/share/local-mail/

2. Launch kmailcvt and import the Thunderbird emails (10GB more or less). It lasts around 1h, and it ends  without errors.

3. Monitor the maildir repository for new mails. In my case, it is located at ~/.local/share/akonadi_maildir_resource_0. I do a "find . > /tmp/maildir-`date +%Y%m%d%H%M`.txt" there from time to time with these results:

-rw-r--r--  1 jcouto jcouto   556444 Jun  8 17:49 maildir-201306081749.txt
-rw-r--r--  1 jcouto jcouto   556574 Jun  8 17:50 maildir-201306081750.txt
-rw-r--r--  1 jcouto jcouto   557742 Jun  8 17:52 maildir-201306081752.txt
-rw-r--r--  1 jcouto jcouto   560207 Jun  8 18:00 maildir-201306081800.txt
-rw-r--r--  1 jcouto jcouto   561375 Jun  8 18:03 maildir-201306081803.txt
-rw-r--r--  1 jcouto jcouto   565531 Jun  8 18:12 maildir-201306081812.txt
-rw-r--r--  1 jcouto jcouto  8436095 Jun  8 19:44 maildir-201306081944.txt
-rw-r--r--  1 jcouto jcouto  8436095 Jun  8 20:06 maildir-201306082006.txt
-rw-r--r--  1 jcouto jcouto  8436095 Jun  8 20:50 maildir-201306082049.txt
-rw-r--r--  1 jcouto jcouto  8436095 Jun  8 21:51 maildir-201306082151.txt
-rw-r--r--  1 jcouto jcouto  8436095 Jun  9 00:10 maildir-201306090010.txt
-rw-r--r--  1 jcouto jcouto  8436095 Jun  9 10:43 maildir-201306091043.txt

Note that kmailcvt has finished around Jun 8 18:00, while the repository continues growing for several hours.
Actual Results:  
On Jun 9, I miss some folders in the imported email. Besides, Kmail2 is extremely slow when I select any local folder.

Expected Results:  
There should be a way to know when the import process is finished. I'm not sure where my emails is between kmailcvt has ended and they appear in the file system. What would have happened if I had turned off my computer just when kmailcvt had completed?
Comment 1 Denis Kurz 2016-09-24 20:35:31 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:20:14 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.