On 24.04.20 17:56, Admin Beckspaced wrote:>>> what sort of troubles did you run into with the dot '.' as namespace >>> separator? >> >> disadvantages could be: >> >> - shared folders with dots in user names >> - if you want to use dots in folder names >>What disadvantages are when using '/' as namespace separator? Why is '.' default (at least in .deb packages) if it is worse then '/' ? Doesn't it, in the end, all come to translation from IMAP names (user,folder) to OS filesystem names within dovecot (at some benchmark tests expense) ? :-)
Hi Ivo, On 26.04.20 12:02, Ivo wrote:>>> disadvantages could be: >>> >>> - shared folders with dots in user names >>> - if you want to use dots in folder names >>> > What disadvantages are when using '/' as namespace separator?IMHO: none. ;-) It depends, as always - YMMV.> Why is '.' default (at least in .deb packages) if it is worse then '/' ?I assume: for historical reasons.> Doesn't it, in the end, all come to translation from IMAP names > (user,folder) to OS filesystem names within dovecot (at some benchmark > tests expense) ? :-)No, as there's a difference between "namespace / hierarchy" (mailbox name) and "layout" separators (OS filesystem). Regards, Markus
> On 26/04/2020 13:17 Markus Winkler <ml at irmawi.de> wrote: > > > Hi Ivo, > > On 26.04.20 12:02, Ivo wrote: > >>> disadvantages could be: > >>> > >>> - shared folders with dots in user names > >>> - if you want to use dots in folder names > >>> > > What disadvantages are when using '/' as namespace separator? > > IMHO: none. ;-) It depends, as always - YMMV. > > > Why is '.' default (at least in .deb packages) if it is worse then '/' ? > > I assume: for historical reasons. > > > Doesn't it, in the end, all come to translation from IMAP names > > (user,folder) to OS filesystem names within dovecot (at some benchmark > > tests expense) ? :-) > > No, as there's a difference between "namespace / hierarchy" (mailbox name) > and "layout" separators (OS filesystem). > > Regards, > MarkusUsing dot breaks shared forlders if your usernames contain dot. Aki
On 26.4.2020. 12:17, Markus Winkler wrote:> >> Doesn't it, in the end, all come to translation from IMAP names >> (user,folder) to OS filesystem names within dovecot (at some >> benchmark tests expense) ? :-) > > No, as there's a difference between "namespace / hierarchy" (mailbox > name) and "layout" separators (OS filesystem).Hi Markus, I was trying to write wannabe-joke / philosophical / theoretical comment. It seems that I failed :-( What I tried to say is something like this : If some character is forbidden for usage in file or folder name in your OS who stands in your way to "escape it" or use mappings e.g. use 9ca6aead2310a010cf445099d8c731490329f9af? (result of SHA1('Markus.Winkler')) instead of Markus.Winkler if '.' creates a problem. You need just one additional file to record mapping info and some CPU cycles / IO operations? to do mappings every time you need to access it (hence mentioning benchmark tests). Yes, admins would "love" that and yes, this comment had no real value for dovecot users. Sorry. Have a nice day, Ivo.