-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 11 Jan 2017, Aki Tuomi wrote:> On 10.01.2017 17:38, Marek Grondecki wrote: >> Hello Dovecot Community, >> >> I am using Dovecot 2.2.13-12~deb8u1 (Debian Jessie). >> >> separator = / >> listescape plugin is NOT active >> LAYOUT=fs is NOT active >> >> I would like to prohibit a creation of folders with dot "." in the >> names - >> so creation of a folder "foo.bar" should NOT be possible. >> Currently, when I create "foo.bar" in Outlook 2013 it will be created >> but won't be >> synchronised with the mail server - Outlook shows it as "foo.bar (Only >> this computer)". >> Ideally the user should receive an error message informing that "the >> folder foo.bar >> could not be created." >> >> Thank you for your help. >> >> Regards, >> Marek Grondecki > > Are you sure the folder is actually created in dovecot instance? > Can you run doveadm mailbox status -u username foo.bar?Yes, they are. If you issue * create t.t.t.t.t.t.t the complete set of t's is created. (I'm using Maildir as backend.) This case is what the listescape plugin is to help. I don't use it myself, however. - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEVAwUBWHX8fnz1H7kL/d9rAQKLTgf/aDCLrP/BjVAASw/Vd/lBXmrZ41SdDbb8 tJCHcOT1EqGCEV5T7vKBilSHc1w0pX4Mtvx48GQc0mCRbmDsNq2ZplSZRmyCsHQh V4Mkk/orj8ekRzv7DJ8MaUC5A5wyVSsTFAwPKus2l7HjgsufEumUESyBaRfbPVIE 6zI5ANw91EI+eJvxnbk8tkpGEVwjZlA4AVwPOMTC8zT4lJSWiZR3oG48TnHZ469j 4CjEw6BoFw1N+QcD5ByuS0ZhZUA3RLKDqs1kU+5D1d8wSDi2z5RtZ0NH+1g+0aR4 gq8p9tzOxfXNCjt4EU0uXE+AUpLmvQJ1OgEDrmZRKncvZ77IYek/tg==kJA6 -----END PGP SIGNATURE-----
On 11.01.2017 11:35, Steffen Kaiser wrote:> On Wed, 11 Jan 2017, Aki Tuomi wrote: > > On 10.01.2017 17:38, Marek Grondecki wrote: > >> Hello Dovecot Community, > >> > >> I am using Dovecot 2.2.13-12~deb8u1 (Debian Jessie). > >> > >> separator = / > >> listescape plugin is NOT active > >> LAYOUT=fs is NOT active > >> > >> I would like to prohibit a creation of folders with dot "." in the > >> names - > >> so creation of a folder "foo.bar" should NOT be possible. > >> Currently, when I create "foo.bar" in Outlook 2013 it will be created > >> but won't be > >> synchronised with the mail server - Outlook shows it as "foo.bar (Only > >> this computer)". > >> Ideally the user should receive an error message informing that "the > >> folder foo.bar > >> could not be created." > >> > >> Thank you for your help. > >> > >> Regards, > >> Marek Grondecki > > > Are you sure the folder is actually created in dovecot instance? > > Can you run doveadm mailbox status -u username foo.bar? > > Yes, they are. If you issue > > * create t.t.t.t.t.t.t > > the complete set of t's is created. (I'm using Maildir as backend.) > > This case is what the listescape plugin is to help. I don't use it > myself, however. > > -- Steffen KaiserI am sure that it is created like that, but his Outlook is saying (Only this computer), which is the reason I am asking. I am sure the command works over IMAP protocol. Aki
Using "doveadm mailbox create" I tried to create a mailbox with dots, it's not possible. doveadm(marek): Error: Can't create mailbox test.test1.test2.test3: Character not allowed in mailbox name: '.' So actually dovecot is already prohibiting a creation of folders with dots in it's names. Unfortunately Outlook 2013 is creating those folders in user's profile and showing them as (Only this computer). Any idea how to fix this behaviour? Marek On 2017-01-11 10:46, Aki Tuomi wrote:> On 11.01.2017 11:35, Steffen Kaiser wrote: >> On Wed, 11 Jan 2017, Aki Tuomi wrote: >> > On 10.01.2017 17:38, Marek Grondecki wrote: >> >> Hello Dovecot Community, >> >> >> >> I am using Dovecot 2.2.13-12~deb8u1 (Debian Jessie). >> >> >> >> separator = / >> >> listescape plugin is NOT active >> >> LAYOUT=fs is NOT active >> >> >> >> I would like to prohibit a creation of folders with dot "." in the >> >> names - >> >> so creation of a folder "foo.bar" should NOT be possible. >> >> Currently, when I create "foo.bar" in Outlook 2013 it will be created >> >> but won't be >> >> synchronised with the mail server - Outlook shows it as "foo.bar (Only >> >> this computer)". >> >> Ideally the user should receive an error message informing that "the >> >> folder foo.bar >> >> could not be created." >> >> >> >> Thank you for your help. >> >> >> >> Regards, >> >> Marek Grondecki >> >> > Are you sure the folder is actually created in dovecot instance? >> > Can you run doveadm mailbox status -u username foo.bar? >> >> Yes, they are. If you issue >> >> * create t.t.t.t.t.t.t >> >> the complete set of t's is created. (I'm using Maildir as backend.) >> >> This case is what the listescape plugin is to help. I don't use it >> myself, however. >> >> -- Steffen Kaiser > > I am sure that it is created like that, but his Outlook is saying (Only > this computer), which is the reason I am asking. I am sure the command > works over IMAP protocol. > > Aki