Re: [exim] de-tainting

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] de-tainting
On 25/06/2020 16:08, Evgeniy Berdnikov via Exim-users wrote:
>>>> processing "warn" (/var/lib/exim4/config.autogenerated 485)
>>>> check acl = test_domain_data
>>>>  using ACL "test_domain_data"
>>>>  processing "warn" (/var/lib/exim4/config.autogenerated 490)
>>>>  check logwrite = before lookup domain=\"$domain\" domain_data=\"$domain_data\"
>>>>                = before lookup domain="xxample.ru" domain_data=""
> LOG: 287 [313687] before lookup domain="xxample.ru" domain_data=""
>>>>  check domains = lsearch;/etc/exim4/cust.d/domains.list
>>>> xxample.ru in "lsearch;/etc/exim4/cust.d/domains.list"? yes (matched "lsearch;/etc/exim4/cust.d/domains.list")
>>>>  check logwrite = after lookup domain=\"$domain\" domain_data=\"$domain_data\"
>>>>                = after lookup domain="xxample.ru" domain_data=""


http://exim.org/exim-html-current/doc/html/spec_html/ch-file_and_database_lookups.html#SECTsinglekeylookups


lsearch:
... line beginning with the search key, terminated by a colon
...
The remainder of the line, with leading and trailing white space
removed, is the data

You had "xxample.ru:" as your matching line. Key, and zero-length
data.
--
Cheers,
Jeremy