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 527071 - Sent Emails not in Sent-Folder
Sent Emails not in Sent-Folder
Status: RESOLVED OBSOLETE
Product: evolution
Classification: Applications
Component: Mailer
2.24.x (obsolete)
Other All
: Normal major
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 494448 572186 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-04-09 05:28 UTC by ben
Modified: 2010-06-14 13:39 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description ben 2008-04-09 05:28:17 UTC
Please describe the problem:
I have two different IMAP accounts set up in evolution.

Whenever I have highlighted one account and click on "new e-mail", start writing this e-mail, and change the highlighted account to the other IMAP account (before sending the e-mail) and send the e-mail, it is sent, but it does not appear in any of the accounts SENT-folder.

Steps to reproduce:
1. You must have two different IMAP accounts
2. Click on the first account, so you see it's e-mail content and the account is highlighted
3. Click on "new-email"
4. Write something in you new e-mail, put in any e-mail address where to send it to
5. Do NOT send the e-mail now. First change to your other IMAP account (click on it so it is highlighted and shows its e-mail content).
6. Now send the e-mail by clicking on the "send" button of your e-mail window.
7. Try to find your e-mail in any of your two IMAP accounts in the "SENT-folder". You won't find it, it is not stored (but it is sent anyways).


Actual results:
The e-mails that you send won't get saved in your IMAP-Sent-folder.

Expected results:
The e-mail should be saved in the IMAP-account-Sent-folder that sends your e-mail.

Does this happen every time?
YES.

Other information:
Comment 1 André Klapper 2008-04-09 08:01:34 UTC
did you set the Sent folder in the account preferences?
Comment 2 ben 2008-04-09 11:44:10 UTC
(In reply to comment #1)
> did you set the Sent folder in the account preferences?
> 

Yes, each IMAP account has its own "Sent-folder" set in preferences.
Comment 3 parthasarathi susarla 2009-02-06 17:39:46 UTC
i have tried reproducing this in 2.24.3 - and it seems to work pretty fine. Each account has the message in the appropriate Sent folder
Comment 4 eric 2009-02-17 18:47:08 UTC
*** Bug 572186 has been marked as a duplicate of this bug. ***
Comment 5 eric 2009-02-17 18:49:06 UTC
I opened Bug 572186 through the automated bug reporter (doesn't provide a search interface). Anyways, I am having the same problem with 2.24.2. Can any "authoritative" Evolution dev member confirm that this was indeed an intended fix in 2.24.3-4 before I go and update the systems?

Thanks
Comment 6 eric 2009-02-18 13:03:35 UTC
Well, tried with 2.24.4 and the problem remains (and should be considered confirmed and critical)...
Comment 7 eric 2009-02-18 13:52:58 UTC
Checking with another IMAP client reveals that the e-mails _are_ ending up in the Sent folder as configured, Moving the folders.db file in the account directory forces the re-sync of evolution with the IMAP server, thus "fixing" the issue:

mv ~/.evolution/mail/imap/<account>/folders.db folders.db.noSentItems

start evolution

It might also be important to double check the settings after upgrading to 2.24.4 since the display format seems to have changed. It used to be "IMAP/Sent" instead of "<account>/INBOX/Sent" now in 2.24.4 (from memory, don't quote me on this ;P )
Comment 8 Milan Crha 2009-02-18 17:36:23 UTC
Yup, there was a bug in account detection, between 2.24.0 and 2.24.3, which caused reset of preset folders in account preferences, which leaded to such behaviour. One is supposed to re-enter his folder changes, unfortunately.

You also mentioned on irc that the summary got broken next start too, probably after expunge, which you've setup to be done every exit. There is a bug #550414 for the expunging issue, I just do not know how much related it is for this one.

One confusing thing is that the report is almost a year old, it couldn't be the same thing there, except it was on a development version, 2.23.x, maybe.
Comment 9 eric 2009-02-18 18:18:18 UTC
Further information. Here is the version evolution for evolution on this machine

fourrier log # grep 'Installing package: mail-client/evolution' entropy/equo.log
* [15:49:16 10/29/08 UTC] [ INFO ] [client] Installing package: mail-client/evolution-2.22.3.1
* [10:05:27 01/28/09 EST] [ INFO ] [client] Installing package: mail-client/evolution-2.24.2-r1
* [11:12:59 01/28/09 EST] [ INFO ] [client] Installing package: mail-client/evolution-2.24.2-r1
* [14:21:19 01/28/09 EST] [ INFO ] [client] Installing package: mail-client/evolution-2.24.2-r1
* [14:54:45 17/02/2009 EST] [ INFO ] [client] Installing package: mail-client/evolution-2.24.4

This implies I jumped from 2.22.3.1 to 2.24.2, then .4. I can say the problem was first lived with 2.24.2 (so the upgrade might have been the source as you mentioned).

About the "broken on next start". More clarification:

- moved folders.db
- restarted evolution, Problem still present
- moved folders.db _and_ folders folder
- restart evolution and this time the Sent folder contains the data from the IMAP server.

So I believe the correct process is to move/delete both folders.db and the folders dir. from the account.

Concerning the oldness of the bug, I originally opened Bug 572186 but found this one (opened and unconfirmed) to be very similar to what I was experiencing.

Comment 10 Akhil Laddha 2009-08-21 12:07:39 UTC
*** Bug 494448 has been marked as a duplicate of this bug. ***
Comment 11 Milan Crha 2010-06-14 13:39:27 UTC
I believe this had been fixed meanwhile, namely with the actual stable, 2.30.x, thus I'm closing this as obsolete, but please feel free to reopen if you face the issue on that or any later version. Thanks in advance.