GNOME Bugzilla – Bug 699529
Store remote folder changes more often
Last modified: 2016-02-22 11:49:01 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.
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?
(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.
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+)
*** Bug 757633 has been marked as a duplicate of this bug. ***
*** Bug 733149 has been marked as a duplicate of this bug. ***