[exim] Re: Extract email address from From header

Pàgina inicial
Delete this message
Reply to this message
Autor: Andreas Metzler
Data:  
A: exim-users
Assumpte: [exim] Re: Extract email address from From header
Marc Perkel <marc@???> wrote:
> OK - this can't be that hard but how do you extrace the email address
> part from the $h_From: header?


> Shouldn't this work? ${local_part:$h_From:}@${domain:$h_From:}


> What am I missing? Thanks in advance.


Works for me. ($address would be shorter.) Please show an example
demonstrating the error.
                 cu andreas
-- 
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken.                                (c) Jasper Ffforde