Bug 1112331

Summary: evolution dupes folders with maildir format
Product: [Fedora] Fedora Reporter: Alessio Caiazza <spam>
Component: evolutionAssignee: Matthew Barnes <mbarnes>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 20CC: fabiano, lucilanga, mbarnes, mcrha
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-24 06:18:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alessio Caiazza 2014-06-23 15:49:54 UTC
Description of problem:
I use mbsync to keep a local maildir copy of my email account.
I usually handle it with mu4e or mutt but I tried to configure it also for evolution.

When I added my maildir folder to evolution accounts if loaded correctly all my emails, but when I closed it I noticed that my local maildir folder was completely broken.

The initial folder structure was the following:
1) all the first level folder where present into my ~/Mail folder
2) all the subfolder where present into the parent folder with a dot prepended.

Example:
INBOX
Archive
    -> work
Sent


~/Mail/INBOX
~/Mail/Archive
~/Mail/Archive/.work
~/Mail/Sent

After runing evolution the structure was the following:
1) all the first level folder where present into my ~/Mail folder with a dot prepended
2) all the subfolder where present into my ~/Mail folder with the parent folder prepended and also a "_2E" as a path separator.
3) all ma previous folder were left

~/Mail/INBOX
~/Mail/Archive
~/Mail/.Archive
~/Mail/Archive/.work
~/Mail/.Archive_2Ework
~/Mail/Sent
~/Mail/.Sent



Version-Release number of selected component (if applicable):
evolution-3.10.4-2.fc20.x86_64

How reproducible:
The issue if fully reproducible, just redowload your emails and add them back to evolution.



Steps to Reproduce:
1. configure a local mail sync with mbsync (or offlineimap)
2. load that folder with evolution
3. close evlution and inspect the content of the maildir

Comment 1 Milan Crha 2014-06-24 06:18:25 UTC
Thanks for a bug report. This doesn't seem to be Fedora specific issue, thus I moved this upstream as [1]. Please see [1] for any further updates. If possible, please CC yourself there, in case upstream developers will have additional questions.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=732145