Re: [exim] Extract email address from From header

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Elliot Murdock
Datum:  
To: exim-users
Betreff: 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