Re: [Exim] Filtering

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: Scott Stavretis
CC: Exim
題目: 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.