Re: Exim Filter

Pàgina inicial
Delete this message
Reply to this message
Autor: T. William Wells
Data:  
A: exim-users
Assumpte: Re: Exim Filter
In article <Pine.BSI.3.95.971014092630.10988R-100000@???>,
Tim Patterson  <tim@???> wrote:
: if
:   ($h_to: contains        "internetusers@???" or
:    $h_to: contains        "Friend@???" or
:    $h_from: contains  '[0-9]+@' or
:    $h_from: contains  '^[0-9]+@*\.com'or


This does what you want:

    $h_from: matches \b[0-9]+@.*\.com\b


"contains" does substring matching.

"matches" does regular expression matching.

the \b match word boundaries.

--
** Tired of getting spam? Check out http://www.junkproof.com/ for an answer.

--
* This is sent by the exim-users mailing list.  To unsubscribe send a
    mail with subject "unsubscribe" to exim-users-request@???
* Exim information can be found at http://www.exim.org/