[exim] Type of lookup

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: CIS Exim users mailing list
Dátum:  
Címzett: exim-users
Tárgy: [exim] Type of lookup
Hello all!

Im wandering what type of lookup im need to use.

Here is a problem:
We have a files "local_domains" with records like:
example.com
exmaple.net
foobar.su

Im need to make lookup of a $domain in this file and if it is found a
assign it to a variable.

Here is a example:

acl_check_rcpt:

set acl_m3 = ${lookup
{$domain}nwildlsearch{/usr/local/etc/exim/lists/local_domains}}

But nwildlsearch don`t work.


file lookup required for exmaple.com
   in /usr/local/etc/exim/lists/local_domains
exmaple.com in "exmaple.com"? yes (matched "exmaple.com")
lookup yielded:
check set acl_m3 = ${lookup 
{$domain}nwildlsearch{/usr/local/etc/exim/lists/local_domains}}
                  =



What type of lookup im need to use for it?

--
Best regards,
Proskurin Kirill