Re: [Exim] case insensitive addresses

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: David Saez
CC: exim-users
Tárgy: Re: [Exim] case insensitive addresses
On Wed, 12 Nov 2003, David Saez wrote:

> I have some lines like that on my logs:
>
> 2003-11-12 12:14:55 1AJstP-0005EB-1p => mamoune@??? <MAMOUNE@???>
> F=<inesherrero@???> R=dnslookup T=remote_smtp S=3415
> H=rtm-mail.rtm.gov.ma [194.204.226.35]
>
> looks like exim consider a rewrite to make the original address
> lowercase, is that correct ? any way to make it case insensitive ?


Exim always lower cases domains for routing (because they are defined to
be case-insensitive). By default, Exim lower cases local parts as well,
because that is what is normally wanted. However, you can set
caseful_local_part on any router if you want it to treat local parts in
a case-sensitive manner. There are various comments about this in the
book and the manual.

However, when Exim does an SMTP delivery, as in the above log line, what
is actually sent in the RCPT command is the address with the original
casing preserved. That is, what the log line is telling you is

(a) The routing was done using "mamoune@???".
(b) The mail was transmitted using RCPT TO:<MAMOUNE@???>


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book