[Dovecot] listescape + shared folders with fully qualified user names
Hi,
the listescape plugin seems to take its job a little bit too serious.
Dovecot version: 1.2.3 + patch 9b62aa2132de
Without listescape:
2 list "" "*"
- LIST (\HasNoChildren) "/" "INBOX"
- LIST (\Noselect \HasChildren) "/" "#Users/test1@merry.dovecot"
- LIST (\HasNoChildren) "/" "#Users/test1@merry.dovecot/Shared" 2 OK List completed.
With listescape:
It escapes the dot in the domain part of the user.
2 list "" "*"
- LIST (\HasNoChildren) "/" "INBOX"
- LIST (\Noselect \HasChildren) "/" "#Users/test1@merry.dovecot"
- LIST (\HasNoChildren) "/" "#Users/test1@merry/dovecot/Shared" 2 OK List completed.
Regards, Markus
On Wed, 2009-08-12 at 21:47 +0200, Markus Petri wrote:
With listescape:
It escapes the dot in the domain part of the user.
On Thu, Aug 13, 2009 at 08:23:36PM -0400, Timo Sirainen wrote:
On Wed, 2009-08-12 at 21:47 +0200, Markus Petri wrote:
With listescape:
It escapes the dot in the domain part of the user.
Problem gone. Thanks.
On Thu, Aug 13, 2009 at 08:23:36PM -0400, Timo Sirainen wrote:
On Wed, 2009-08-12 at 21:47 +0200, Markus Petri wrote:
With listescape:
It escapes the dot in the domain part of the user.
It seems, the problem is not fixed with LSUB:
2 LSUB "" "*"
- LSUB () "/" "#Users/test1@merry/dovecot/Shared" 2 OK Lsub completed.
2 LIST "" "*"
- LIST (\HasNoChildren) "/" "INBOX"
- LIST (\Noselect \HasChildren) "/" "#Users/test1@merry.dovecot"
- LIST (\HasNoChildren) "/" "#Users/test1@dc.local/Shared" 2 OK List completed.
Regards, Markus
On Fri, 2009-08-14 at 11:04 +0200, Markus Petri wrote:
On Thu, Aug 13, 2009 at 08:23:36PM -0400, Timo Sirainen wrote:
On Wed, 2009-08-12 at 21:47 +0200, Markus Petri wrote:
With listescape:
It escapes the dot in the domain part of the user.
It seems, the problem is not fixed with LSUB:
2 LSUB "" "*"
- LSUB () "/" "#Users/test1@merry/dovecot/Shared" 2 OK Lsub completed.
Maybe it's already saved wrong to your subscriptions file? It seems to work with me:
x subscribe shared/tss@domain.org/foo.bar x OK Subscribe completed. x lsub "" *
- LSUB () "/" "shared/tss@domain.org/foo.bar" x OK Lsub completed.
On Fri, Aug 14, 2009 at 12:06:54PM -0400, Timo Sirainen wrote:
Maybe it's already saved wrong to your subscriptions file? It seems to work with me:
x subscribe shared/tss@domain.org/foo.bar x OK Subscribe completed. x lsub "" *
- LSUB () "/" "shared/tss@domain.org/foo.bar" x OK Lsub completed.
The folders were subscribed without the listescape plugin:
$ cat subscriptions #Users/test1@merry.dovecot/Shared
I deleted it and resubscribed with the plugin:
$ cat subscriptions #Users/test1@merry\2edovecot.Shared
Shared folders are not so widely used here yet, so I think I could simply convert the subscription files, before activating the plugin on the production server.
Thanks for the heads up.
Regards, Markus
On Sat, 2009-08-15 at 00:09 +0200, Markus Petri wrote:
The folders were subscribed without the listescape plugin:
$ cat subscriptions #Users/test1@merry.dovecot/Shared
Oh, wait, this looks right..
I deleted it and resubscribed with the plugin:
$ cat subscriptions #Users/test1@merry\2edovecot.Shared
This really doesn't look right.. I think I'll try fixing it properly. :)
On Fri, 2009-08-14 at 18:16 -0400, Timo Sirainen wrote:
$ cat subscriptions #Users/test1@merry\2edovecot.Shared
This really doesn't look right.. I think I'll try fixing it properly. :)
OK, some more patches that should fix everything:
http://hg.dovecot.org/dovecot-1.2/rev/5ae611e975ad http://hg.dovecot.org/dovecot-1.2/rev/be4a5cd32b29 http://hg.dovecot.org/dovecot-1.2/rev/a1b1a8b6555e
On Fri, Aug 14, 2009 at 06:47:45PM -0400, Timo Sirainen wrote:
On Fri, 2009-08-14 at 18:16 -0400, Timo Sirainen wrote:
$ cat subscriptions #Users/test1@merry\2edovecot.Shared
This really doesn't look right.. I think I'll try fixing it properly. :)
OK, some more patches that should fix everything:
http://hg.dovecot.org/dovecot-1.2/rev/5ae611e975ad http://hg.dovecot.org/dovecot-1.2/rev/be4a5cd32b29 http://hg.dovecot.org/dovecot-1.2/rev/a1b1a8b6555e
No problems so far. The subscriptions file looks correct and mailbox listing works, too.
Thanks again.
participants (2)
-
Markus Petri
-
Timo Sirainen