Re: [Exim] Filtering

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Scott Stavretis
CC: Exim
Sujet: Re: [Exim] Filtering
On Tue, 12 Sep 2000, Scott Stavretis wrote:

> How can I run this so that I can jsut put one enty in my main filter file
> that points to another file that just has the addresses in it?
>
> eg. /etc/filter contains
> if $header_from contains "**SOMEHOW POINT TO /etc/filter.addresses **" then
> fail text "INVALID ADDRESS"
> endif
>
> and /etc/filter.addresses contains a list of e-mail addresses



if ${lookup{$header_from:}lsearch{/some/file}{yes}{no}} is yes then

                        ^
                        ^
                This colon is important.        


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.