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 617927 - IMAP namespace override lists in all namespaces
IMAP namespace override lists in all namespaces
Status: RESOLVED WONTFIX
Product: evolution
Classification: Applications
Component: Mailer
2.32.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Milan Crha
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2010-05-06 16:15 UTC by James F. Carter
Modified: 2012-08-07 17:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed eds patch (1.28 KB, patch)
2010-10-01 10:15 UTC, Milan Crha
none Details | Review

Description James F. Carter 2010-05-06 16:15:16 UTC
i've just upgraded from evolution 2.26.2 to 2.30.1.2 and now evolution connects to the imap server and just thrashes through my home directory and is more or less unusable.

i have "override server-supplied folder namespace" checked and "namespace" set to Boxes.

here is some debugging output:
received: * OK [CAPABILITY IMAP4REV1 I18NLEVEL=1 LITERAL+ SASL-IR LOGIN-REFERRALS STARTTLS] mailsrv1.cs.york.ac.uk IMAP4rev1 2007e.404 at Thu, 6 May 2010 16:58:11 +0100 (BST)
sending : A00000 CAPABILITY
received: * CAPABILITY IMAP4REV1 I18NLEVEL=1 LITERAL+ IDLE UIDPLUS NAMESPACE CHILDREN MAILBOX-REFERRALS BINARY UNSELECT ESEARCH WITHIN SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND SASL-IR LOGIN-REFERRALS STARTTLS
received: A00000 OK CAPABILITY completed

(evolution:7730): evolution-network-manager-WARNING **: The name org.freedesktop.NetworkManager was not provided by any .service files
camel_junk_plugin_init
e-data-server-ui-Message: Unable to find password(s) in keyring (Keyring reports: No matching results)
e-data-server-ui-Message: Key file does not have group 'Passwords-Mail'
sending : A00001 LOGIN xxx xxx
received: A00001 OK [CAPABILITY IMAP4REV1 I18NLEVEL=1 LITERAL+ IDLE UIDPLUS NAMESPACE CHILDREN MAILBOX-REFERRALS BINARY UNSELECT ESEARCH WITHIN SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User james authenticated
sending : A00002 NAMESPACE
received: * NAMESPACE (("" "/")("#mhinbox" NIL)("#mh/" "/")) (("~" "/")) (("#shared/" "/")("#ftp/" "/")("#news." ".")("#public/" "/"))
received: A00002 OK NAMESPACE completed
sending : A00003 LIST /usr/james/Boxes ""
received: * LIST (\NoSelect \HasChildren) "/" /
received: A00003 OK LIST completed
sending : A00004 LIST "" Boxes/
received: * LIST (\NoSelect \HasChildren) "/" Boxes/
received: A00004 OK LIST completed
sending : A00005 LSUB "" Boxes/
received: A00005 OK LSUB completed
sending : A00006 LIST "" {7+}
Boxes/*
received: * LIST (\NoSelect \HasChildren) "/" Boxes/
received: * LIST (\NoInferiors \UnMarked) "/" Boxes/.vi
received: * LIST (\NoInferiors \UnMarked) "/" Boxes/9fans
 [... here it correctly enumerates my Boxes directory, as per the override namespace setting ...]
received: * LIST (\NoInferiors \Marked) "/" Boxes/incoming-20081231.bz2
received: * LIST (\NoInferiors \Marked) "/" Boxes/jessies.mbx.bz2
received: A00006 OK LIST completed
sending : A00007 LSUB "" {7+}
Boxes/*
received: * LSUB () "/" Boxes/lists/9fans
 [... now it seems to be correctly enumerating my subscribed folders ...]
received: * LSUB () "/" Boxes/Archives
received: A00007 OK LSUB completed
sending : A00008 LIST "" /usr/james/Boxes/
received: * LIST (\NoSelect \HasChildren) "/" /usr/james/Boxes/
received: A00008 OK LIST completed
sending : A00009 LSUB "" /usr/james/Boxes/
received: A00009 OK LSUB completed
sending : A00010 LIST "" {18+}
/usr/james/Boxes/*
received: * LIST (\NoSelect \HasChildren) "/" /usr/james/Boxes/
 [... still in Boxes, so far so good ...]
received: * LIST (\NoInferiors \Marked) "/" /usr/james/Boxes/jessies.mbx.bz2
received: A00010 OK LIST completed
sending : A00011 LSUB "" {18+}
/usr/james/Boxes/*
received: A00011 OK LSUB completed
sending : A00012 LIST "" {1+}
*
received: * LIST (\NoSelect \HasChildren) "/" .AbiSuite
received: * LIST (\NoInferiors \Marked) "/" .AbiSuite/AbiWord.Profile
received: * LIST (\NoInferiors \UnMarked) "/" .AbiSuite/coquille.conf
received: * LIST (\NoSelect \HasChildren) "/" .CodeCommander
 [... oh no - it's now looking in the rest of my home directory which will take (almost) forever ...]
Comment 1 Stanislav Brabec 2010-06-23 16:08:31 UTC
The same problem here with openSUSE 11.3 RC1.

I had to go to Subscribe (took 5 minutes) and manually unclick all unneeded files in the home directory.
Comment 2 Akhil Laddha 2010-06-24 04:00:26 UTC
you are using IMAP or IMAP+ provider, i meant server type in preferences ?
Comment 3 Stanislav Brabec 2010-06-24 14:09:51 UTC
IMAP.

If I switch to IMAP+, I don't see "Name space" entry at all.
Comment 4 Milan Crha 2010-10-01 10:15:37 UTC
Created attachment 171478 [details] [review]
proposed eds patch

for evolution-data-server;

Might be true, though I'm not sure how this should work with respect of IMAP commands. Only note that the IMAP provider is always looking for Inbox.

Does this patch work for you as expected? And if not, please try to guide me towards the right direction. Thanks in advance.
Comment 5 mikma.gnomebugz 2010-10-10 21:16:37 UTC
This bug also affects Ubuntu 10.10.
It made one of my IMAP accounts unusable in evolution.
Comment 6 Akhil Laddha 2011-02-02 09:40:44 UTC
Was anybody able to try out the patch attached in comment#4 ?
Comment 7 André Klapper 2012-02-14 11:17:02 UTC
mikma / Stanislav / James: 
Was any of you able to test Milan's patch in comment 4?
Comment 8 André Klapper 2012-08-06 15:12:29 UTC
mikma / Stanislav / James: 
Was any of you able to test Milan's patch in comment 4?
Comment 9 Stanislav Brabec 2012-08-06 15:26:00 UTC
I will not be able to test it live any more. The IMAP server which required IMAP namespace now uses different setting without namespace.

I am not an IMAP expert, but I guess it can be tested by anybody:

1. Watch messages (as shown in comment 0).
2. Make IMAP sub-folder.
3. Set IMAP namespace to that subfolder.
4. Look at the messages. There must be no reference to the former top folder.
Comment 10 Milan Crha 2012-08-07 17:25:33 UTC
Nah, never mind. IMAP is to-be-deprecated, and IMAP+ doesn't offer namespace override. And the patch proposed doesn't work either, based on your suggested steps.