Re: [Exim] lookup in filters

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Peter A. Savitch
Dátum:  
Címzett: Yuri Pimenov
Tárgy: Re: [Exim] lookup in filters
Hello Yuri,

Monday, September 23, 2002, 10:38:41 PM, you wrote:

YP> 1. how can i do lookup in user filters? for example i want to match a
YP> header with lsearch lookup.


No difference from the other places.

I didn't check that, but it should work:

if $header_from: matches
${lookup{$sender_host_address}lsearch{$home/some/file}} then
# blackhole
seen finish
endif

See also redirect router options:

allow_filter
forbid_filter_lookup

YP> 2. is it possible to use named lists in user filters?


I guess not. Named lists seem to be global configuration animals.


--
Best regards,
 Peter                            mailto:spam4octan@highway.ru