[Dovecot] Behavior difference in mbox versus Maildir listing
Bruno Prémont
bonbons at linux-vserver.org
Sun May 22 01:04:30 EEST 2011
On Sat, 21 May 2011 Timo Sirainen <tss at iki.fi> wrote:
> On 21.5.2011, at 23.35, Bruno Prémont wrote:
> >> It's expected, although maybe not the best behavior. I'm basically
> >> copying UW-IMAP behavior for mbox and Courier/Cyrus behavior for
> >> Maildir. There are more detailed reasons for why the "#mbox.folder."
> >> should be listed, which are described by Mark Crispin somewhere in
> >> imap-protocol mailing list archives I think. I've been thinking about
> >> making dbox and Maildir (and maybe mbox) behavior identical though..
> >
> > Hm, at least claws-mail (it uses libetpan) does not survive listing the
> > #mbox namespace here, it loops listing the same folder until it crashes.
>
> Well, then I'd think it always crashes when listing mailboxes with UW-IMAP?
> If not, it has some special UW-IMAP specific crash-avoidance code..
Don't know if it has heuristics (grepping whole source e.g. for UW-IMAP
yields not hit) but it proceeds as one would expect when separator is '/'
instead of '.'... (going to check with another separator char just to see!)
> > If you have a pointer to the detailed reasons for the differing behavior
> > I would appreciate so I could add it to the bug report.
>
> Well, one such link is http://marc.info/?l=imap&m=104561252904979&w=2 but
> there are probably better.
Ok, so this would mean that the Maildir storage should also list the parent
folder as is done for mbox?
If other MTAs show trouble it might be worth having a config flag in dovecot
tell if parent folder should be listed or not (for all engines)...
Bruno
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20110522/d09cc043/attachment.bin>
More information about the dovecot
mailing list