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

Top Page
Delete this message
Reply to this message
Author: Marc Perkel
Date:  
To: Marc Perkel
CC: exim-users
Subject: Re: [exim] Quick how do I do this question


Marc Perkel wrote:

> Lookups confusr me.
>
> I have a text file where I'm storing from headers that look like this:
>
> Evite <info@???>
> Evan Prodromou <evan@???>
> support@???
> "Neowin.net" <nboard@???>
> laurent <charazac.laurent@???>
>
>
> In an ACL I want to do a condition to look up the $h_From: to see if
> it matches and lines in this file.
>
> How do I do that?
>

Specifically:

warn    message = X-Test: Skip
    condition = ${if 
match{/var/spool/spam/ham-from.txt}{$h_From:}{true}{false}}


What am I doing wrong?

--
Marc Perkel - marc@???

Spam Filter: http://www.junkemailfilter.com
    My Blog: http://marc.perkel.com