Re: [Exim] effective use of .forward files

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