GNOME Bugzilla – Bug 202576
a way to refresh IMAP folder list
Last modified: 2012-11-22 15:19:37 UTC
I use Imap to read my mail. I subscribe to alot of lists and tend to read my mail from alot of different mailers. Some mailer seems to go nuts if you subscribe to a imap folder that does not exist. As I use monthly archves too, I does not create a mailbox entry in the .mailboxlist until the mailbox actually exist. BUG This means that if evolution is running the first time every month I get a mail thats put into a new mailbox I will never see it until evolution is restarted and the mailbox list is reread. It would be nice to have an option to always reread the mailbox list when looking for mail.
this should probably be doable for Maildir and mbox 'spoold's too. (btw, it wouldn't read the .mailboxlist file on the mail server, it would have to query for new folders) I'm not sure how to do this, I don't think we want Evolution to query the server periodically, I think we want there to be a way to refresh the folder listing manually (most people don't add new folders very often).
Hmm, if you run the subscribe dialogue it should trigger this (?).
Still unimplemented. Perhaps Evo could also periodically check for new folders, and there would be no need for user to initiate the folder refresh?
nobody? this bug is 4 years old, I don't think this is fixed and it's a real problem to be sometimes out of sync with the server...
laurent: you can always use the "subscriptions" dialog.
"Refresh" item was added in the context menu of each folder a while ago.
André, this bug is not about refreshing a folder but refreshing the list of folders. If you have evolution up and running and a new folder is created on the folder (and subscribed to on the server side) evolution will not notice this until it is restarted.
Also filed as bug 467585.
*** Bug 467585 has been marked as a duplicate of this bug. ***
*** Bug 677909 has been marked as a duplicate of this bug. ***
Created attachment 229637 [details] [review] eds patch for evolution-data-server; This is required to update folder structure in UI on recognized change. It's done for both imap and imapx providers. I'm committing this to both master and gnome-3-6, where the workaround for gnome-3-6 is to use Folder->Subscriptions and just select the account. Note that this respects the option to show only subscribed folders, thus if a newly created folder is not subscribed, then it will not be shown in case of showing only subscribed folders. It makes sense, but it confused me first, thus I'm mentioning it here.
Created attachment 229638 [details] [review] evo patch for evolution; This adds a "Refresh" popup menu when calling context menu above an account node in the left folder tree, with hint: "Refresh list of folders of this account".
Created commit 424947b in eds master (3.7.3+) Created commit dd958f0 in evo master (3.7.3+) Created commit c6a397f in eds gnome-3-6 (3.6.3+)