Univention Bugzilla – Bug 39346
lowercase email addresses for Dovecot user queries
Last modified: 2015-09-25 13:01:10 CEST
A customer reports that an IMAP access with uppercase email address made Dovecot create a new mail home besides the existing one with lowercase directory name. Although I could not reproduce this the change makes sense and should not hurt existing installations. I should furthermore raise the auth cache hit ratio. The "%L" modifier changes all characters to lowercase when used in a userdb or passwd query.
Commit + merge to 4.1: 63689 YAML (r63690): 2015-09-07-univention-mail-dovecot.yaml
Created attachment 7165 [details] r63689.diff
Configuration and listener code adapted, so that aLL on-disk paths (except for shared folders w/o email address) are lowercased now too. Code 4.0-3: 63756 Merge 4.1: 63757 YAML (63759): 2015-09-02-univention-mail-dovecot.yaml
Created attachment 7171 [details] 63756.diff
OK: code change OK: functional test - see ucs-test script - adding/renaming shared folders with and without mailPrimaryAddress ADDED: ucs-test/tests/40_mail/45_dovecot_test_camelcase_mailadresses - creates 4 users with lowercase, uppercase and mixed case mail addreses - checks if lower case mailbox is created (and not mixed/upper case) - mail is delivered to correct mailbox (→ lowercase) - if mailboxes are removed correctly after deleting user object OK: YAML
<http://errata.software-univention.de/ucs/4.0/333.html>