[Bug 271231] New: e-mails downloaded from POP3-servers by akonadi/kmail2 is stored twice locally

eric prozac at gmx.net
Mon Apr 18 18:06:43 BST 2011


https://bugs.kde.org/show_bug.cgi?id=271231

           Summary: e-mails downloaded from POP3-servers by akonadi/kmail2
                    is stored twice locally
           Product: Akonadi
           Version: 1.5.2
          Platform: Archlinux Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: POP3 Resource
        AssignedTo: mcguire at kde.org
        ReportedBy: prozac at gmx.net
                CC: vkrause at kde.org, kdepim-bugs at kde.org


Version:           1.5.2 (using KDE 4.6.2) 
OS:                Linux

All e-mails downloaded from POP3-servers are stored in 2 directories:
'~/.local/share/akonadi/file_db_data' and
'~/.local/share/.local-mail.directory/'

Reproducible: Always

Steps to Reproduce:
1) Setup Akonadi/Kmail2 to download from a POP3-account;
2) Download new e-mails from that account (make sure there are new e-mails);
3) Compare (with the command 'diff') the new files in the 2 directories I've
mentioned (the filenames inside those directories are different).

Actual Results:  
Every downloaded e-mail is found in the 2 directories... the only difference is
the filename, but the rest is equal.

Expected Results:  
Downloaded e-mails should be stored in just 1 local location to not waste
diskspace.

I'm using Kontact/Kmail 4.6beta5, Akonadi 1.5.2 and MySQL 5.5.11.

Friends and family are sending me e-mails with photos and powerpoint
presentations attached. That means I receive big e-mails and storing these
e-mails locally in 2 different directories is a waste of diskspace.

I can ofcourse delete this '~/.local/share/akonadi/file_db_data' directory,
because all the e-mails there are just duplicates... but when I do this Kmail
does not show the e-mails anymore. Only the header is showed, the body of the
e-mail is gone. The e-mail files found in
'~/.local/share/.local-mail.directory/' are complete (you can read them with a
text editor), but Kmail insists to retrieve the body of these e-mails from
'~/.local/share/akonadi/file_db_data'.

To make the e-mails complete again, I can ofcourse rebuild the akonadi
database. With a new database Kmail2 can show the complete e-mails again, but
flags like (un)read/important and maybe also tags are reset.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Kdepim-bugs mailing list