[EXIM] Some q. about EXIM filters

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Andrey Chernomyrdin
Fecha:  
A: exim-users
Asunto: [EXIM] Some q. about EXIM filters
Hi!

I have flowing lines in my personal .forward file:
- --
# Exim filter
# [...]
#
if foranyaddress $h_from 
   ( 
     "${lookup {$thisaddress} lsearch {$home/etc/announce} {$value} {} }" is not ""
   )
then
        deliver $value
endif
#
- --
and I have ~/etc/announce:
- --
big-boss@???:    my@???
dear@???:    my@???
- --
and this fragment of .forward not working properly.
Properly work:
- --
    deliver "${lookup{$thisaddress}lsearch{$home/etc/announce}{$value}}"
- --


Why I can't use $value after lookup expressions ?

-- 
With Best,                      | http://www.excom.spb.su/~andrey
     Andrey Chernomyrdin        | mailto:andrey@excom.spb.su 


--
*** Exim information can be found at http://www.exim.org/ ***