Re: [Exim] Ruoter conditions

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Nico Erfurth
Data:  
Para: Dan Egli
CC: exim-users
Asunto: Re: [Exim] Ruoter conditions
Dan Egli wrote:

> Still doesn't work. I pasted it in directly, and the result:
>
> 2004-07-05 12:07:32 1BhXrp-0001sH-0N failed to expand condition "${if or
> { {eq {$interface_port}{10025}} {eq {${lookup{$sender_address}
> lsearch{/etc/exim/amavis.bypass}{1}} {1}} }{0}{1}}" for amavis router:
> missing 2nd string in {} after "eq"


Oopps, my fault, it missed a closing '}'

${if or { \
      {eq {$interface_port}{10025}} \
      {eq {${lookup{$sender_address} \
             lsearch{/etc/exim/amavis.bypass}{1}}} {1}} \
  }{0}{1}}



exim -d+expand -be is your friend when you try to track down expansion
errors. Also, the bracket-match functionality of vim (and I suppose many
other real editors) are helpful.

Nico