[EXIM] Uppercase in usernames

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Phil Chambers
Dátum:  
Címzett: exim-users
Tárgy: [EXIM] Uppercase in usernames
I have just picked up Exim with a view to using it instead of sendmail for our
main server (16,000 registrations, plus being MX for several departments). We
now only create usernames with lower case letters, but still have quite a few left
over from when we used mixed case. I have been experimenting to see how I would
configure Exim to do what our existing sendmail does and found that I need to set
"locally_caseless" for the localuser driver to find users in the password file.
I need case-insensitivity of e-mail addresses, but it is not a practical option to
change all our mixed case usernames because the knock-on effects are too
unpredictable. I found that by placing entries like:

auser1: AUser1

in /etc/aliases I could achieve case-insensitivity providing I also had "lsearch"
for the aliasfile driver. (The documentation in Section 22 says "lsearch" is
case-independent.) I expect my alias file will be very large and would need to use
"dbm", not "lsearch". "dbm" does not downcase before doing the search, so I don't
get the same result and therein lies the problem!

Is there another solution? If not can someone tell me where in the code I could
insert a patch to downcase before doing a dbm lookup in the aliasfile driver? The
exim_dbmbuild downcases the keys, so it would seem logical to downcase before
searching.

My impressions of Exim so far are very positive, so it would be a shame if I have
to drop it over this issue.

Phil.
---------------------------------------
Phil Chambers (postmaster@???)
University of Exeter


--
*** Exim information can be found at http://www.exim.org/ ***