Re: [Exim] Filter Help

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Giuliano Gavazzi
Dátum:  
Címzett: Marc Perkel, exim-users
Tárgy: Re: [Exim] Filter Help
At 18:10 -0800 2002/12/15, Marc Perkel wrote:
>I'm trying to figure out a way of extracting the name part of the
>From address -
>not the email address to compare the name in a filter. Can someone tell me how
>to code this?
>
>Example:
>
>From: Marc Parkel <marc@???>
>
>Need to extract the "Marc Perkel" part of $h_from:
>


is

${if match{$h_from}{^From: *(.*) *<} {$1}{}}

the answer to your question?

Giuliano
--
H U M P H
    || |||
  software


Java & C++ Server/Client/Human Interface applications on MacOS - MacOS X
http://www.humph.com/