Re: [Exim] filter problem

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Philip Hazel
Data:  
Para: Paul Slootman
CC: exim-users
Asunto: Re: [Exim] filter problem
On Fri, 24 Sep 1999, Paul Slootman wrote:

> Which raises another question: is "foranyaddress" the only way to loop
> over a list of header lines, to test for a given string in any of those
> header lines?


If you are just looking for a fixed string, you can do something like

if "$h_to: $h_cc: $h_X-Mailing-list:" contains "xxxxx"

foranyaddress was really for the case when you want to pick out
something from the address.

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