On 2011-10-27 at 16:28 +0200, Nicolas KOWALSKI wrote:
> /C=FR/ST=Ille-et-Vilaine/O=Home/OU=Computing/CN=Nicolas
> KOWALSKI/[email protected]
> ${extract{emailAddress}{${extract{-1}{/}{${tls_peerdn}}}}}
>
> Obviously, this will fail if the /-separated last field is not the
> emailAddress.
How about:
${filter {</ $tls_peerdn}{eqi{${substr_0_13:$item}}{emailAddress=}}}
?
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/