[Dovecot] Hierarchy separator usage -- and a bijou bug? (was: Prayer, Maildir and Folders whose names begin with ".")

Timo Sirainen tss at iki.fi
Tue Mar 13 19:19:35 EET 2007


On Tue, 2007-03-13 at 18:53 +0200, Timo Sirainen wrote:
> > > I'm confused how client_verify_mailbox_name() is detecting two or  
> > > more of either "." or "/" as the code looks to only check one  
> > > separator character (obtained from mail_storage_get_hierarchy_sep 
> > > (storage))
> > > 
> > > Or is this returning the separator character maildir is using (".")  
> > > and not the hierarchy separator which we have changed in the Dovecot  
> > > configuration file to "/"?  If so then my code fragment isn't going  
> > > to work, as the Maildir filestore separator will continue to be "." :-(
> > 
> > That code is only verifying the separator from namespace configuration.
> 
> And this is wrong too.. It should be verifying the separator from
> namespace configuration, but it isn't. I'll fix that.

Well, I decided to make it return "invalid mailbox name" error by
default: http://dovecot.org/list/dovecot-cvs/2007-March/008114.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070313/82e7d484/attachment.pgp 


More information about the dovecot mailing list