Jeremy Harris via Exim-users wrote:
> On 31/05/2021 08:46, Victor Sudakov via Exim-users wrote:
> > root@http1:~ #  exim -C /usr/local/etc/exim/configure.nolocalmail -be 
> > '${lookup{[email protected]}lsearch{/etc/mail/whitelist.local}}'
> > 
> > root@http1:~ # grep [email protected] /etc/mail/whitelist.local
> > [email protected]
> > root@http1:~ #
> 
> Those two don't seem to match.  Because you're obfuscating we
> can't be certain, but it's most likely that one of the strings
> involved is incorrect.
> 
> Obfuscation makes it harder for us to help you.

Already solved by Evgeniy, thank you!

Quoting Evgeniy (and his solution is correct):

 All works as programmed: Lookup for "[email protected]" gives
 empty string, bool{} converted it to "false", so ${if...} fails and condition
 is wrong. You have to change this logic. Say, add value to lookup key.

-- 
Victor Sudakov VAS4-RIPE
http://vas.tomsk.ru/
2:5005/49@fidonet

Attachment: signature.asc
Description: PGP signature

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to