Re: [Exim] Filtering

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Philip Hazel
Data:  
Para: Scott Stavretis
CC: Exim
Assunto: 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.