Re: [exim] exim4.conf variable case sensitivity

Pàgina inicial
Delete this message
Reply to this message
Autor: Mike Brudenell
Data:  
A: Exim-users@exim.org
Assumpte: Re: [exim] exim4.conf variable case sensitivity
I'm curious why this is necessary…

On 23 September 2015 at 12:46, Nigel Metheringham <nigel@???> wrote:

> Specifically you want to change
>     /etc/domains/$domain
> to
>     /etc/domains/${lc:$domain}

>


As Colin mentioned, in the Specification the description of the *$domain*
variable (p. 127 in the PDF from Exim 4.85) says:

When an address is being routed, or delivered on its own, this variable
contains the domain. Uppercase letters in the domain are converted into
lower case for $domain.


So surely there shouldn't be a need to translate it to lower case using
${lc:$domain} ?

Or is the documentation wrong and the domain name not converted to lower
case before being put into the $domain variable?

Cheers,
Mike B-)

--
Systems Administrator & Change Manager
IT Services, University of York, Heslington, York YO10 5DD, UK
Tel: +44-(0)1904-323811

Web: www.york.ac.uk/it-services
Disclaimer: www.york.ac.uk/docs/disclaimer/email.htm