Charles Marcus
2014-Jan-08 17:52 UTC
[Dovecot] Disallow certain characters in foldernames?
Is there a way to do this in dovecot? Similar to how you can When using Maildir and Thunderbird, if a user tries to a create folder named "test.1" or "test/1", dovecot will happily create a folder called "test", with a subfolder called "1". Worse, the top level folder "test" is greyed out, which is how Thunderbird displays a folder that can contain only other folders, not both folders and files. I want to disallow this. Obviously I'd prefer if Thunderbird would display a meaningful error, but most likely dovecot cannot control that. I don't really care if the user just gets some kind of weird generic error or not, I'd just prefer to prevent dovecot from creating the problematic folders, and explain the problem to the user if/when they call about it (after NOT reading my carefully crafted documentation explaining the illegal characters that cannot be used in foldernames). -- Best regards, Charles
Robert Schetterer
2014-Jan-08 18:06 UTC
[Dovecot] Disallow certain characters in foldernames?
Am 08.01.2014 18:52, schrieb Charles Marcus:> Is there a way to do this in dovecot? Similar to how you can > > When using Maildir and Thunderbird, if a user tries to a create folder > named "test.1" or "test/1", dovecot will happily create a folder called > "test", with a subfolder called "1". > > Worse, the top level folder "test" is greyed out, which is how > Thunderbird displays a folder that can contain only other folders, not > both folders and files. > > I want to disallow this. Obviously I'd prefer if Thunderbird would > display a meaningful error, but most likely dovecot cannot control that. > > I don't really care if the user just gets some kind of weird generic > error or not, I'd just prefer to prevent dovecot from creating the > problematic folders, and explain the problem to the user if/when they > call about it (after NOT reading my carefully crafted documentation > explaining the illegal characters that cannot be used in foldernames). >what about, let the user create such folders http://wiki2.dovecot.org/Plugins/Listescape Best Regards MfG Robert Schetterer -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstra?e 15, 81669 M?nchen Sitz der Gesellschaft: M?nchen, Amtsgericht M?nchen: HRB 199263 Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein