-
Notifications
You must be signed in to change notification settings - Fork 178
Q0806
I'm using $domain as the key for a lookup in a rewriting rule, but its contents are not being lowercased. Aren't domains supposed to be handled caselessly?
The value of $domain is the actual domain that appears in the address. It could of course be lower cased, but I know that would cause some unhappiness, because some people have mixed-case domain names which look silly if the case is changed. Thus, one wants to preserve the case in rewrites such as
*@*.TheRap.com something@$domain
because therap doesn't look like two words. I know it seems trivial, but it is
important to some people - especially if by some unfortunate accident
the lowercased word is something indecent. You can trivally force
lower casing by means of the ${lc:
operator. Instead of $domain
write ${lc:$domain}
.
- How can I get Exim to strip the hostname from the sender's address?
- I have Exim configured to remove the hostname portion of the domain on
- I want to rewrite local addresses in mail that goes to the outside
- I'm using this rewriting rule to change login names into friendly names, but if mail comes in for an upper case login name, it doesn't get rewritten.
- Is it possible to completely fail a message if the rewrite rules fail?
- I'm using $domain as the key for a lookup in a rewriting rule, but
- I want to rewrite local sender addresses depending on the domain of the
- I want to rewrite recipient address depending on the domain of the