On Tue, 2025-04-22 at 15:28 -0500, Johnnie Adams via Exim-users wrote:
> I've thinned this configuration down to the minimal failure:
[...]
> server_condition = ${if \
>
>
> eq{lookup{$auth1}dbmnz{/etc/exim/allowed_accounts.db}}{quote:$auth2}
> \
>
> }
>
> And I'm getting this error message in debug mode, which strikes me as
> strange, because I do have two strings in the eq{} clause:
>
> login authenticator failed for (remote) [144.167.8.28]: 435 Unable to
> authenticate at present (set_id=account): missing 2nd string in {}
> after "eq"
You're comparing literal strings, not the result of operations.
server_condition = ${if eq \
{${lookup{$auth1}dbmnz{/etc/exim/allowed_accounts.db}}} \
{${quote:$auth2}} \
}
is at least more plausible syntax-wise.
Regards,
Adam
--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## [email protected]
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/