GNOME Bugzilla – Bug 725320
[Camel] Let the store preconfigure settings the first time
Last modified: 2017-04-26 16:19:40 UTC
Description of problem: Evolution should try to autodetect server folder variants for local folders and use them. How reproducible: always Steps to Reproduce: 1. Configure e-mail account in Evolution. 2. Send e-mail, save draft and template, move to trash and spam messages. Actual results: Evolution always stores this messages in local folders. User has to configure server variants manually in "Preferences - Account Editor - Defaults". Expected results: Evolution always should try to autodetect these folder on server. Use local folders only as a fallback when Evolution can't find server variants. Additional info: Evolution should always look for Sent, Drafts, Trash, Templates and Spam folders on server. If this fails, look at current locale and try to look up for localized variants on server, e.g. Sent => Odeslané. If this also fails, Evolution configuration wizard could provide "Preferences - Account Editor - Defaults - Special Folders" as another page in the wizard.
The IMAP backend already fetches SPECIAL-USE mailbox attributes, but we don't currently have public API for Evolution to get to that information. Targetting for 3.14.
So did this happen? If not, Target Milestone should be bumped / removed.
I made this happen for 3.20.0. The first time a user configures an account which supports "initial setup", the corresponding method is called and the values are populated based on the things the store sets. There are only IMAPx and EWS providers which support it right now. Already configured accounts will not be touched. Whether the folder will be found on an IMAP server also depends on the localization and whether the language of the Evolution matches the language (and translation) of the Mail interface (folder names provided by the server), except of the English names (those wrote in the code), which are tried always, but only as the second try. Translators may change their GMail service language to precisely match that provided by the server. I also added "Lookup Folders" button to the Defaults tab of the Mail Account Editor, which is shown only if the store is available (thus for already configured and enabled accounts) and if it supports the feature. Created commit_1be0d6f in eds master (3.19.90+) [1] Created commit 02e28f1 in evo master (3.19.90+) Created commit_7c9d250 in ews master (3.19.90+) [2] [1] https://git.gnome.org/browse/evolution-data-server/commit/?id=1be0d6f [2] https://git.gnome.org/browse/evolution-ews/commit/?id=7c9d250
I added a guess on Templates and Archive folders, in eds commit_caf29d6 (3.19.90+) for IMAPx, though the Templates folder is not much used right now (see bug #681353).
I extended the fix to prefer RFC 6154 "SPECIAL-USE" Flags, which are not locale sensitive. Created commit 54565ae in eds master (3.19.91+)
*** Bug 216446 has been marked as a duplicate of this bug. ***