[Dovecot] dovecot auth is case insensitive, but fs is sensitive :)

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Wed Aug 19 17:25:29 EEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 19 Aug 2009, pod wrote:

> But the username in the authentication db is completely independent of any
> localpart that might be used to deliver to a mailbox - access to which is
> authenticated by providing creds for that username.
>
> I don't see how the fact that MTAs may or may not consider localparts to
> be case-sensitive has any bearing on the case-sensitivity of usernames
> stored in the authentication database.

I understood the problem so:

If you construct the path in the local file system from the username 
derived from the local part, you need to be prepared to handle different 
case names, hence, use %L modifier or return a new spelling from the auth 
DB.

E.g. recipient addresses: fore.surname at example.com, 
FORE.surname at example.com ...

mail_location = maildir:/var/mail/%u/Maildir

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBSowLW3WSIuGy1ktrAQLa1gf+PHG8AcZbHluLS32GvE7imIQJrLV0UJ2k
4rHwm0eaOi0EH5sy9LqThyc2ooeqlI9hds3PFzS3EUMpXOLS7sm794x1KbHY8E1L
yTLRLi+Lfb/u4Ahsz6+xWddL7zZ7NQA3RGxX5qdXidzjJzkECseGT6E15e/PpcJ5
HOivl9v5YREy0ZFU7TmNgXb5pDxXD9z9SkTWlr8StyYPi2yaeB8m1qUo6YI+OKB4
5iL7VhRrDvsxgHCBhaqIXAjO1woeB+8xAjpi/qXRdWwb2pqrEj43YhscMteidLay
YQM5NzFDy0nxi3EC5zIi2EZlD7pwPKOk1astInhPLLIe05LtX3vkJg==
=oOud
-----END PGP SIGNATURE-----


More information about the dovecot mailing list