On Mon, 6 Mar 2006, Chris Meadors wrote:
>
> Is there a variable available in the RCPT ACL that has exactly what is
> contained in the "TO:" argument with case preserved?
> Otherwise I guess I could convert the $return_path to lowercase before
> signing the address on the way out. But I'd like to preserve the case
> if I could.
Email domains are defined to be case-insensitive, and there is software
out there which messes with the case - e.g. LISTSERV makes all domains
SHOUTY. Exim is also case-insensitive for local parts by default. I think
your best bet would be to apply ${lc: to the sender address before
applying BATV. (Perhaps the PRVS code should do this by default.)
Tony.
--
<fanf@???> <dot@???>
http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}