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 748183 - Add special folder matches for other common servers
Add special folder matches for other common servers
Status: RESOLVED FIXED
Product: geary
Classification: Other
Component: engine
0.8.x
Other Linux
: Normal normal
: 0.11.1
Assigned To: Geary Maintainers
Geary Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-04-20 13:37 UTC by Kevin R. Page
Modified: 2016-07-12 09:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Check for special names created by Outlook or with lower case names (11.23 KB, patch)
2016-06-15 22:27 UTC, Michael Gratton
none Details | Review

Description Kevin R. Page 2015-04-20 13:37:47 UTC
geary-0.8.3-1.fc21.x86_64

Special folders aren't been matched for either of my mail servers.

For the first (Microsoft Exchange Server with IMAP) it looks like just some additional strings:
"Sent Items"
"Deleted Items"

These are currently picked up as Labels in Geary but not matched as special folders (Inbox and Drafts are).

For the second server (Dovecot) is configured with all folders as sub-folders of inbox, e.g. Inbox.sent. None of these seem to be matching as special folder, although they are all listed under an expanded Inbox. That, or Geary has case-sensitive matching:
"drafts"
"sent"
"Trash"

I see there are strings for the special folders in imap-engine-generic-account.vala but this is a possibly naive assumption. If so the former should be easy to rectify, at least.

(The interface to Geary looks fantastic, btw -- thank you! I'd be keen to use it as my main mail client; unfortunately all my accounts are hosted on the above servers and I have no control over their configuration.)
Comment 1 Michael Gratton 2016-06-15 22:27:40 UTC
Created attachment 329879 [details] [review]
Check for special names created by Outlook or with lower case names
Comment 2 Michael Gratton 2016-06-15 22:30:00 UTC
Hi Keven, thanks for reporting this bug.

The attached patch should fix the problem you're seeing with both your Exchange and Dovecot server. Can you please try building Geary 0.11 with the patch applied and let me know if it resolves the issue for you? Thanks!
Comment 3 Michael Gratton 2016-06-15 22:36:33 UTC
Oh, note, you may need to re-create the accounts for this to have an effect.
Comment 4 Michael Gratton 2016-06-15 22:57:49 UTC
Or at least delete the lines starting with the following from the account's geary.ini file in ~/.local/share/geary-prod/.../geary.ini:

> drafts_folder=
> sent_mail_folder=
> spam_folder=
> trash_folder=
> archive_folder=

(Maybe back it up first)
Comment 5 Michael Gratton 2016-07-12 09:56:47 UTC
Oh, this was pushed to master as 13dbfb3, to geary-0.11 as 0b3fc1, and included in the Geary 0.11.1 release.