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

From: Wietse Venema (wietseporcupine.org)
Date: Tue Jun 17 2003 - 07:49:53 CDT


George Pajari:
> I'm getting case folding with my "pipe" delivery agent but cannot see
> why. I'm running 2.0.9 on Linux.
...
> I'm running the following single-line virtual map:
> /^(.*FAX=.*).*/ \${1}faximum.localhost

Postfix folds input before doing table lookups because many table
lookup mechanisms can't fold case by themselves.

This is admittedly a wart that still needs to be fixed.

        Wietse

> Here is the evidence from the log:
>
> Jun 17 09:03:19 localhost postfix/pipe[821]: A7457346B45:
> to=<jane_doe/fax=123faximum.localhost>,
> orig_to=<Jane_Doe/FAX=123Faximum.com>, relay=faximum, delay=4,
> status=sent (localhost)
>
> Here is the relevant line from master.cf:
>
> faximum unix - n n - - pipe
> flags= user=daemon argv=/opt/faximum/lib/swiiftefg -t 1
> -a ${recipient} -f $sender
>
> NOTE: no -u flag
>
> I'm running the following single-line virtual map:
>
> /^(.*FAX=.*).*/ \${1}faximum.localhost
>
> I'm missing something obvious but the dent in the wall is getting deeper
> and my forehead more tender so I'm throwing myself at the mercy of
> postfix-users. I think it's happening in cleanup based on the virtual
> map but need guidance from the Postfix intelligentsia
>
> Thanks.
>
> g.
>
>
>