OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: ${receipient} case folding

Victor.Duchovnimorganstanley.com
Date: Tue Jun 17 2003 - 07:41:35 CDT


On Tue, 17 Jun 2003, George Pajari wrote:

> I'm running the following single-line virtual map:
>
> /^(.*FAX=.*).*/ \${1}faximum.localhost
>

The input to the regexp virtual map (actually all address lookup tables)
is downcased. So ${1} is lower case.

I've been thinking about the merits moving the case folding of address
lookups from the mail_addr_map() code into the dictionary code, so that
indexed files will downcase keys, but regexp maps will not. This would
eliminate case folding surprises in Postfix. The addresses might still be
case folded in transit through some other system, but Cyrus folder names
"user+Folder" and other case sensitive material should make through
Postfix intact.

This would be a big change, with a small payoff, so I think would take a
lot of convincing to get Wietse interested in accepting changes of this
sort.

--
        Viktor.