Prohibit dots in folder names

Marek Grondecki marek at grondecki.de
Fri Feb 10 16:09:06 UTC 2017


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



More information about the dovecot mailing list