[Dovecot] Allowing tilde at start of mailbox names [listescape-plugin.c]
Adam McDougall
mcdouga9 at egr.msu.edu
Sun Dec 2 10:01:51 EET 2007
On Wed, Jul 25, 2007 at 08:28:52PM +0300, Timo Sirainen wrote:
On 25.7.2007, at 19.13, pod wrote:
>> TS> It's mostly there just to make sure that ~/ or ~user/ can't be
>> TS> used to open mailboxes where you weren't supposed to have access
>> TS> to. I didn't think anyone would really want to have mailboxes
>> TS> beginning with ~. Do you really want them? (I don't think they
>> TS> were possible with UW-IMAP either?)
>>
>> Unfortunately yes it would be useful in my case to have them because of
>> historical accident.
How about if listescape plugin escaped it? That would make it possible to
use them but still safe against accidental problems.
For others too, I implemented a plugin for escaping mailbox names with
Maildir so that it's possible to use '.' in mailbox names:
http://dovecot.org/patches/1.0/listescape-plugin.c
I am using the 1.1 version of this plugin. So far it seems to be working fine.
Is there a chance of having it be an official plugin distributed with 1.1?
That would make it fit into my build environment alot cleaner, as well as
a FreeBSD port I intend to submit so others can build 1.1 easily. One way
or another I plan to keep using listescape and will need to find the best way
to keep it functioning alongside dovecot upgrades, even if that means compiling
and installing it manually each time. Thanks.
More information about the dovecot
mailing list