After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 509721 - imap mails get lost with vague connection
imap mails get lost with vague connection
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.12.x (obsolete)
Other Linux
: Normal major
: ---
Assigned To: Milan Crha
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2008-01-15 19:06 UTC by Daniel Kenzelmann
Modified: 2008-06-04 14:30 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
Log of moved mail (24.90 KB, text/plain)
2008-01-15 19:10 UTC, Daniel Kenzelmann
  Details
proposed eds patch (1.85 KB, patch)
2008-06-02 13:00 UTC, Milan Crha
committed Details | Review

Description Daniel Kenzelmann 2008-01-15 19:06:25 UTC
+++ This bug was initially created as a clone of Bug #446276 +++ 

Sorry for opening another bug for this, but the other seems to be closed and dead.

Moving Mail on an IMAP maildir accound in Evolution will result in mail being deleted.

It seems that Evolution tries to copy the mail, that fails/crashes, but the second part of the move operation, deleting the original file will be executed.


I have the same problem on gentoo evolution 2.12.2 and also on Ubuntu, i had seen the same error before on 2.10.x

Mail server is dovecot.

Evolution log shows some errors, and it does not seem to show that the mail got
copied correctly (so it does not seem to be a mailserver eror)

I am attaching the logfile ... (i replaced some foldernames with [...] in it)

I opened evolution, then dragged the already selected mail into the "Trash"
folder, (not the Evolution "Trash" but a just a folder with that name...),
looked in the "Trash" folder, no mail there, then closed evolution.

The mail is only in the real Trash, thus it got lost on the move.
Comment 1 Daniel Kenzelmann 2008-01-15 19:10:06 UTC
Created attachment 102930 [details]
Log of moved mail
Comment 2 Milan Crha 2008-06-02 13:00:01 UTC
Created attachment 111954 [details] [review]
proposed eds patch

for evolution-data-server;

There were really two places in an IMAP provider where was done delete when requested unconditionally on the previous copy action.
Comment 3 Srinivasa Ragavan 2008-06-04 05:17:50 UTC
commit to stable/trunk
Comment 4 Milan Crha 2008-06-04 14:30:37 UTC
Committed to trunk. Committed revision 8914.
Committed to gnome-2-22. Committed revision 8915.