Re: [Exim] 'or' condition question

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Fred Viles
Data:  
Para: exim-users
Assunto: Re: [Exim] 'or' condition question
On 15 Jul 2004 at 22:18, Michael F. Sprague wrote about
    "Re: [Exim] 'or' condition question":


|...
| > That looks perfect to me.


Doh! Because I'm also missing the obvious!

|...
| I'm going to continue playing with this, but I just cannot 'see' any syntax
| error. Any help is greatly appreciated.


The {1}{0} alternatives are part of if, not eq. They should not be
inside the {eq ...} conditions:

condition = ${if or {\
                     {eq {$acl_m0}\
                         {${lookup{$domain}dbm{RELAYTODB}}}}\
                     {eq {$acl_m0}\
                         {${lookup{$domain}dbm{LOCALDB}}}}\
                    }\
                {1}{0}\
              }


- Fred