Re: [exim] Quick how do I do this question

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Fred Viles
Fecha:  
A: exim-users
Asunto: Re: [exim] Quick how do I do this question
On 3 Oct 2005 at 12:51, Marc Perkel wrote about
    "Re: [exim] Quick how do I do this q":


|...
| warn    message = X-Test: Skip
|     condition = ${if 
| match{/var/spool/spam/ham-from.txt}{$h_From:}{true}{false}}
| 
| What am I doing wrong?


As usual, you're trying things at random and not bothering to read
the manual to see if it makes any sense. In this case, you're
ignoring the documentation for the "match" condition in section 11.7.

<string1> is a regular expression, not a filename. Your condition
will be satisfied only if the From: header looks like:

From: some text /var/spool/spam/ham-from.txt some more text

- Fred