Re: [Exim] Filtering

Góra strony
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Dla: Jason Robertson
CC: Exim
Temat: Re: [Exim] Filtering
On Thu, 14 Sep 2000, Jason Robertson wrote:

> But the least one I want to test for specific subjects. that I list in a text file,
> so I don't have to keep adding rules


You can replace the last rule by a lookup.

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

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