Re: [exim] Grabbing the email address in a filter variable

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Heiko Schlittermann
Fecha:  
A: exim-users
Asunto: Re: [exim] Grabbing the email address in a filter variable
Heiko Schlittermann <hs@???> (Mo 19 Mai 2008 23:52:42 CEST):
> Paul Jolly <paul@???> (Mo 19 Mai 2008 23:36:03 CEST):
> > All,
> >
> > In a filter specification, I am aware that of the behaviour of the
> > $reply_address variable.
> >
> > However, I have noticed that it contains the full value of the header
> > variable, e.g. it could contain:
> >
> >     Paul Jolly <paul@???>

> >
> > Is there a variable that contains only the email address, e.g. paul@???
> > , according to the same precedence rules as $reply_address?
>
>     ${local_part:$reply_address}@${domain:$reply_address}


better yet:

    ${address:$reply_address}


    exim4 -be '${address:"hans hanson" <h@???>}'
    h@???


--
Heiko