Re: [Exim] effective use of .forward files

Top Page
Delete this message
Reply to this message
Author: Greg Ward
Date:  
To: exim-users
Subject: Re: [Exim] effective use of .forward files
On 02 August 2001, scott@??? said:
> I'm trying to make a rule that checks incoming mail headers by using the
> following rule:
>
> if $h_from: contains "email1@???" or
>     $h_from: contains "email2.com" or
>        ...
> then
>     deliver emailaddress1@domain
>     deliver emailaddress2@domain
> endif

>
> The structure works, but is there a more effective method of creating the
> header checking part?


A regex? It's impossible to know without seeing what your "..." stands
for, but read about the "matches" test in the filter docs...

        Greg
-- 
Greg Ward - software developer                gward@???
MEMS Exchange                            http://www.mems-exchange.org