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 725320 - [Camel] Let the store preconfigure settings the first time
[Camel] Let the store preconfigure settings the first time
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
3.12.x (obsolete)
Other Linux
: Normal enhancement
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 216446 (view as bug list)
Depends on: 759678
Blocks:
 
 
Reported: 2014-02-27 13:58 UTC by Martin Holec
Modified: 2017-04-26 16:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Martin Holec 2014-02-27 13:58:31 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.
Comment 1 Matthew Barnes 2014-02-27 14:45:31 UTC
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.
Comment 2 André Klapper 2015-03-29 18:24:45 UTC
So did this happen? If not, Target Milestone should be bumped / removed.
Comment 3 Milan Crha 2016-01-22 16:21:21 UTC
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
Comment 4 Milan Crha 2016-01-29 12:58:39 UTC
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).
Comment 5 Milan Crha 2016-02-22 11:15:28 UTC
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+)
Comment 6 Milan Crha 2017-04-26 16:19:40 UTC
*** Bug 216446 has been marked as a duplicate of this bug. ***