Re: [Exim] lookup in filters

Góra strony
Delete this message
Reply to this message
Autor: Peter A. Savitch
Data:  
Dla: Yuri Pimenov
Temat: 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