Re: [Exim] filter problem

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Paul Slootman
CC: exim-users
Tárgy: 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.