-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 23/09/15 15:30, Mike Brudenell wrote: > I'm curious why this is necessary… > > On 23 September 2015 at 12:46, Nigel Metheringham <[email protected]> > 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.
... but his use case was in an ACL. Distinct from "being routed" (in all but the most abstruse cases). > Or is the documentation wrong and the domain name not converted to > lower case before being put into the $domain variable? I've not checked the code paths, and it's certainly confusing to have the variable content change underneath you... but I suspect it does, and the docs are more likely correct as far as they go. The bullet points detailing the "other circumstances" could possibly be expanded to point out that lowercasing has not yet been done. Please raise a bug (http://bugs.exim.org) if you care enough, so this does not get forgotten. - -- Cheers, Jeremy -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWArxfAAoJELzljIzkHzLfghcH/Ricc5krlx4VdQVVEaVbx2/z 2i029nvz3w0Rlf4RZZToZCK/nQ11gvDwCi84n8yv8i2beMqAJFdox3dcgNS85nSA rxzMry9R4eX1P3eBN4/j8vD/8B0lfjlsd8Ofi+4dwjFziOXFq24/co/UoKyUnMQ9 36lSk8CZ6AONmS/bAozbz4xLaXXeb2ZIk+K6An7ckVk8C+UTuw3q/EqIrFZ/dlxh DtB9EF3PjUr2cCQcxSMAMLCAaUfoEqoRz+kJ/e3jzDEw06QiIVUxl0Wu8ylg3YOs GHBsXja7UJwHqRMt5tAjT2w1VUxIUsl74VLHkNvXc3ZXRCp+Mi8hfGX1ha4+3YQ= =l56z -----END PGP SIGNATURE----- -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
