Prohibit dots in folder names

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Wed Jan 11 09:35:58 UTC 2017


-----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-----


More information about the dovecot mailing list