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 699529 - Store remote folder changes more often
Store remote folder changes more often
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Mailer
3.10.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[imap]
: 733149 757633 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-05-02 21:45 UTC by Bastien Nocera
Modified: 2016-02-22 11:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2013-05-02 21:45:42 UTC
My current workflow when using Evolution on my laptop is pretty awful.

Before thinking of closing my laptop, I need to:
- delete spam by hand (because the other platforms I use don't recognise the spam status, iOS...)
- "Expunge" the folder, as Evolution doesn't write the status of marked mails straight away, and it seems to be the only way to force changes to be written out to the IMAP server.
Comment 1 Milan Crha 2014-02-11 18:58:08 UTC
I'm not sure I follow. I think there is not much to be done with "delete spam by hand", except of Edit->Preferences->Mail Preferences->Junk tab, [ ] Delete junk messages [ On exit, every time    | v ] option.

The Expunge might be similarly done with a similar option on
tab General: [ ] Empty trash folders [ On exit, every time    | v ] option.

There is a glitch on IMAP+ with real trash folders, which cannot be currently emptied. See bug #719806.

Might the two options work for you?
Comment 2 Bastien Nocera 2014-02-12 13:08:26 UTC
(In reply to comment #1)
> I'm not sure I follow.

I read mail in Evolution on my laptop, mark messages as spam, and read some others. I go somewhere else, and use my phone (iOS7) to check the mail:
- spam is still there
- mails that I read aren't marked as such

If I read a mail on iOS, it's immediately marked as read on the server. I don't need to somehow "force" that.

> I think there is not much to be done with "delete spam
> by hand", except of Edit->Preferences->Mail Preferences->Junk tab, [ ] Delete
> junk messages [ On exit, every time    | v ] option.

I only have one folder I use on my IMAP server, and it's the INBOX. I also don't stop Evolution, or change folders before leaving my desk, or closing my laptop.

> The Expunge might be similarly done with a similar option on
> tab General: [ ] Empty trash folders [ On exit, every time    | v ] option.

That's not useful.

> There is a glitch on IMAP+ with real trash folders, which cannot be currently
> emptied. See bug #719806.

That's not the problem either.

> Might the two options work for you?

Afraid not.
Comment 3 Milan Crha 2015-08-18 17:56:01 UTC
I added a hidden option to store any folder changes more often. The default interval is 3 seconds, and if any other change in the folder comes during this interval, then the store is postponed. The option is named StoreChangesInterval and can be found in the .source files in the ~/.config/evolution/sources, alternatively ~/.cache/evolution/sources. The option is not visible in already created mail accounts until the account is changes (it's enough to open account properties and confirm (no) changes in with the OK button). The interval is set in seconds, while 0 means immediately and -1 to turn this auto-storing off completely.

The most interesting part is that it touches anything what derives from CamelOfflineFolder, which means not only IMAPx, but also NNTP, EWS and MAPI accounts.

Created commit 385c2b3 in eds master (3.17.91+)
Comment 4 Milan Crha 2015-11-05 14:55:48 UTC
*** Bug 757633 has been marked as a duplicate of this bug. ***
Comment 5 Milan Crha 2016-02-22 11:49:01 UTC
*** Bug 733149 has been marked as a duplicate of this bug. ***