Re: [Exim] 'or' condition question

Página Inicial
Delete this message
Reply to this message
Autor: Fred Viles
Data:  
Para: exim-users
Assunto: Re: [Exim] 'or' condition question
On 15 Jul 2004 at 9:59, Michael F. Sprague wrote about
    "[Exim] 'or' condition question":


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

|...

That looks perfect to me. But it doesn't match the one quoted in the
error message:

| temporarily rejected RCPT mfs@???: failed to expand ACL
| string "${if or {{eq
| {$acl_m0}{${lookup{$domain}dbm{/usr/local/exim/etc/relay-to-domains.db}
| }}{1}{0}}}{eq
| {$acl_m0}{${lookup{$domain}dbm{/usr/local/exim/etc/local-domains.db}}}{
| 1}{0}}}}": missing } at end of condition inside "or" group


where there is an extra } after each "eq{...}".

Dumb question: are you editing the correct exim.conf file, and HUPping exim?

- Fred