[Dovecot] hierarchy_sep

Timo Sirainen tss at iki.fi
Tue Jul 22 22:32:30 EEST 2003


On Tuesday, Jul 22, 2003, at 22:00 Europe/Helsinki, molter at tin.it wrote:

> I think I cannot just set hierarchy_sep to '/', because /foo would 
> start from the root of the filesystem instead of being relative to 
> ~/Maildir.
>
> Do you have any suggestions on the cleaner way of doing it? Or maybe 
> do you think it is wrong to depart from '.' for some reason?

Well .. The '.' is currently pretty much hardcoded there in multiple 
places. I was going to make the separator that clients see 
configurable, and also support changing the real filesystem separator 
by modifying some single #define in sources..

If you wanted to change it to '/', I guess it would mostly work but you 
might have to create subdirectories sometimes. For example client could 
create "a/b/c/d" mailbox even if "a" didn't exist. Also you'd have to 
get the LIST code from mbox since it's very different in maildir++.



More information about the dovecot mailing list