[Dovecot] dovecot and vmailmgr/qmail mailboxes
Timo Sirainen
tss at iki.fi
Mon Jun 22 05:24:27 EEST 2009
On Tue, 2009-06-16 at 17:26 +0200, Mij wrote:
> interface supported by dovecot, dovecot snips the mailbox directory
> returned by the
> authentication module at colon characters ':'.
..
> Of course, it's very desirable to support "." users too. I see that it
> would require several
> changes in the code, but I'd like to hear your opinion on this. What
> about
> - using a different separator than ":", less common and safer. Could
> '\0' be one? If not,
> what about '*'?
The problem is that mail_location setting uses ":" as the "sub-setting"
separator. If I changed it, I'd break a huge number of Dovecot
installations. The reason why I chose ":" in the first place was because
I didn't think anyone would really use it in directory names, because
that would also break e.g. $PATH.
> - as a quicker & dirtier solution, what about allowing escaping? One
> can modify the
> auth module to replace ":" with "\:", if dovecot is instructed to
> avoid tokenizing when
> a "\" precedes a ":".
I suppose :: could be used to escape a single : character. I might break
a few installations by doing that change, but I could live with that.
Added to v1.2: http://hg.dovecot.org/dovecot-1.2/rev/675f0df22f24
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090621/186576b0/attachment.bin
More information about the dovecot
mailing list