J.Wendland at scan-plus.de
2007-Jun-22 15:14 UTC
[Dovecot] LIST % not returning correct data?
Hi list, I have namespace private { prefix = INBOX. separator = . inbox = yes } in an installation migrated from courier. I am testing with Outlook Mobile 5 (OM) which uses 'LIST "" %' to get the folder list. Now courier used to return * LIST (\HasChildren) "." "INBOX" whereas dovecot returns * LIST (\HasNoChildren) "." "INBOX" which is why OM failes to display any folder. Is this dovecot's failure or am I missing something here? Thanks, J?rg -- Sicherheit - Verf?gbarkeit - Kontinuit?t ------------------------------------------------------------------------- IT-Service-Management von ScanPlus GmbH Tel. +49 731 92013 150 Lise-Meitner-Stra?e 5, D-89081 Ulm, Germany Fax. +49 731 92013 29 150 Web: http://www.scan-plus.de/ Mail: wendland at scan-plus.de -------------------------------------------------------------------------
J.Wendland at scan-plus.de, on 6/22/2007 11:14 AM, said the following:> Hi list, > I have > > namespace private { > prefix = INBOX. > separator = . > inbox = yes > } > > in an installation migrated from courier. I am testing with Outlook > Mobile 5 (OM) which uses 'LIST "" %' to get the folder list. Now > courier used to return > > * LIST (\HasChildren) "." "INBOX" > > whereas dovecot returns > > * LIST (\HasNoChildren) "." "INBOX" > > which is why OM failes to display any folder. Is this dovecot's failure > or am I missing something here?A shot in the dark... one thing I found when I was using Courier - to get the namespace to display correctly (ie, subfolders not showing as sub-folders of the Inbox), I had to set just 'INBOX' - no period - in Thunderbird for the namespace prefix... Maybe experiment with that? Try just 'INBOX' without the period? -- Best regards, Charles
On Fri, 2007-06-22 at 17:14 +0200, J.Wendland at scan-plus.de wrote:> in an installation migrated from courier. I am testing with Outlook > Mobile 5 (OM) which uses 'LIST "" %' to get the folder list. Now > courier used to return > > * LIST (\HasChildren) "." "INBOX" > > whereas dovecot returns > > * LIST (\HasNoChildren) "." "INBOX" > > which is why OM failes to display any folder. Is this dovecot's failure > or am I missing something here?It's a bug. Fixed, sort of: http://hg.dovecot.org/dovecot-1.0/rev/f92ea3eed616 I think I'll do yet another LIST rewrite for v1.1. It's unbelievably hard to get the logic right when you support multiple configurable namespaces.. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070625/db84496d/attachment-0002.bin>
Timo Sirainen wrote:> On Fri, 2007-06-22 at 17:14 +0200, J.Wendland at scan-plus.de wrote: > >> in an installation migrated from courier. I am testing with Outlook >> Mobile 5 (OM) which uses 'LIST "" %' to get the folder list. Now >> courier used to return >> >> * LIST (\HasChildren) "." "INBOX" >> >> whereas dovecot returns >> >> * LIST (\HasNoChildren) "." "INBOX" >> >> which is why OM failes to display any folder. Is this dovecot's failure >> or am I missing something here? >> > > It's a bug. Fixed, sort of: > http://hg.dovecot.org/dovecot-1.0/rev/f92ea3eed616 > > I think I'll do yet another LIST rewrite for v1.1. It's unbelievably > hard to get the logic right when you support multiple configurable > namespaces.. > >This actually may be the same issue I was having with Outlook 2003 favorite folders. Looks like Dovecot rdoes "HasNoChildren" for some reason, whereas Courier does "HasChildren". Thanks, Phillip