As it turns out, that ran--thanks! Now it's the lookup that's failing...or
was, till I changed it to dbm rather than dbmnz. I think this is done, once
I stir the other half of the eq statement back in.

Thanks to all who helped--it was very useful!



On Tue, Apr 22, 2025 at 4:48 PM Adam D. Barratt via Exim-users <
exim-users@lists.exim.org> wrote:

> 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):
> ##   exim-users-unsubscr...@lists.exim.org
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/
>


-- 
John Adams
Senior Linux/Middleware Administrator  | Information Technology Services
+1-501-916-3010 | jxad...@ualr.edu | http://ualr.edu/itservices
*UA Little Rock*

Reminder:  IT Services will never ask for your password over the phone or
in an email. Always be suspicious of requests for personal information that
come via email, even from known contacts.  For more information or to
report suspicious email, visit IT Security
<http://ualr.edu/itservices/security/>.

-- 
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   exim-users-unsubscr...@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to