Re: [exim] Extract email address from From header

Góra strony
Delete this message
Reply to this message
Autor: Stephen Gran
Data:  
Dla: exim-users
Temat: Re: [exim] Extract email address from From header
On Fri, Oct 29, 2010 at 02:29:54AM +0200, Elliot Murdock said:
> Hello All!
>
> I need to extract the email address From the from header and then use
> that variable in a condition. I assume there is a way to set the
> acl_c0 variable the result of a regular expression that can pull the
> email address out from the From header.


$h_from in the data acl. No need for a regex and a custom variable.

Cheers,
--
--------------------------------------------------------------------------
|  Stephen Gran                  | A violent man will die a violent death. |
|  steve@???             | -- Lao Tsu                              |
|  http://www.lobefin.net/~steve |                                         |

--------------------------------------------------------------------------