[Dovecot] configure lmtp to deliver to email addresses case insensitively

Charles Marcus CMarcus at Media-Brokers.com
Mon Dec 16 22:25:55 EET 2013


On 2013-12-16 2:36 PM, Adrian Zaugg <adi at ente.limmat.ch> wrote:
> How can I tell dovecot to deliver "USER" to the mailbox "user" aswell? 

"Username

LDAP lookups are case-insensitive. Unless you somehow normalize the 
username, it's possible that a user logging in as "user", "User" and 
"uSer" are treated differently. The easiest way to handle this is to 
tell Dovecot to change the username to the same case as it's in the LDAP 
database. You can do this by returning "user" field in the pass_attrs, 
as shown in the above example.

If you can't normalize the username in LDAP, you can alternatively 
lowercase the username in dovecot.conf:

auth_username_format = %Lu"

See: http://wiki2.dovecot.org/AuthDatabase/LDAP/PasswordLookups

This really should be the default...


-- 

Best regards,

*/Charles/*


More information about the dovecot mailing list