Re: [Exim] 'or' condition question

Top Page
Delete this message
Reply to this message
Author: Fred Viles
Date:  
To: exim-users
Subject: 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