Re: [exim] extract email from tls_peerdn ?

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Todd Lyons
Fecha:  
A: exim-users
Asunto: Re: [exim] extract email from tls_peerdn ?
On Fri, Oct 28, 2011 at 8:27 AM, Nicolas KOWALSKI
<nicolas.kowalski@???> wrote:
>> > ${extract{emailAddress}{${extract{-1}{/}{${tls_peerdn}}}}}
>> How about:
>>   ${filter {</ $tls_peerdn}{eqi{${substr_0_13:$item}}{emailAddress=}}}
> I tried, but the 'emailAddress' string is not removed from the result.
> Not sure why.


Try Lena's method in the subsequent post. It allows for the order to
change and does the same type of extract command that you're used to.

Regards...            Todd
-- 
If Americans could eliminate sugary beverages, potatoes, white bread,
pasta, white rice and sugary snacks, we would wipe out almost all the
problems we have with weight and diabetes and other metabolic
diseases. -- Dr. Walter Willett, Harvard School of Public Health