--On 28 October 2010 20:29:11 -0500 James Price <[email protected]> 
wrote:

> On Oct 28, 2010, at 7:29 PM, Elliot Murdock <[email protected]> wrote:
>
>> 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.
>>
>> Thanks,
>> Elliot
>>
>>
>
> Try $sender_address should work in most cases.

Explicitly, those cases where the envelope sender is the same as the From: 
header. It may be that the OP is trying to detect mis-matches.

> Thanks,
> James



-- 
Ian Eiloart
IT Services, University of Sussex
01273-873148 x3148
For new support requests, see http://www.sussex.ac.uk/its/help/



-- 
## List details at http://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/

Reply via email to