Re: [Exim] Filter Help

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Giuliano Gavazzi
Ημερομηνία:  
Προς: Marc Perkel, exim-users
Αντικείμενο: 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/