Re: [Exim] 'or' condition question

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Michael F. Sprague
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] 'or' condition question
Fred Viles <fv+exim@???> wrote:
> 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:

SNIP

Thanks for the reply Fred. My mistake, I pasted the wrong entry from the log.
Here is the correct entry:

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

This one does match up to the sample above.

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

Thanks,
mikeS

--
Michael Sprague  | mfs@???
Partner          | System and Network Engineering (SaNE), LLC
use STD::disclaimer;