Re: [exim] Extract email address from From header

Pàgina inicial
Delete this message
Reply to this message
Autor: Elliot Murdock
Data:  
A: exim-users
Assumpte: Re: [exim] Extract email address from From header
Hello!

I've managed to use the set command to give acl_c) the value of the
email address in From header but putting this line in the acl:

set acl_c0 = ${if
match{$header_From:}{\([a-z,A-Z,\\.,\\-]+@[a-z,A-Z,\\.,\\-]+\)}{$1}}

However, I guess using the ${addresses} expansion operator would be
more conventional.

--Elliot