Re: [EXIM] Case sensitive users

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Philip Hazel
Data:  
Para: Fabian Vasconez
CC: exim-users
Assunto: Re: [EXIM] Case sensitive users
On Wed, 12 May 1999, Fabian Vasconez wrote:

> I have one problem; I have running exim 2.05 in a Solaris 2.6 box, and I
> have users with mixed case: msaaH and when send mail to this user i have
> the folowing error:
>
>  msaaH@???:
>     unknown local-part "msaah" in domain "mydomain.net"  


Best approach:

(1) Set locally_caseless = false

(2) Create a file mapping caseless values to the correct values, e.g.
containing lines like

msaah: msaaH

(3) Set up, as your first director, a translator like this:

get_case_right:
driver = smartuser
new_address = ${lookup{${lc:$local_part}}lsearch{/that/file}{$value}{$local_part}}@$domain

(4) If you have many users, make that a DBM rather than an lsearch
lookup.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



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