Re: [exim] ${lookup{value}lsearch{file}{yes}{no}} tricks help request

2018-11-13 Thread Lena--- via Exim-users
> From: supportsob...@mail.ru > Could someone help with syntax of?${lookup{value}lsearch{file}{yes}{no}} > > I'm trying to write a condition that will return "FALSE" if either of hosts > from "Received:" headers (yes, any on the way from sender's server to me) > is listed

Re: [exim] ${lookup{value}lsearch{file}{yes}{no}} tricks help request

2018-11-13 Thread Jeremy Harris via Exim-users
On 10/11/2018 23:52, supportsobaka--- via Exim-users wrote: > I'm trying to write a condition that will return "FALSE" if either of hosts > from "Received:" headers (yes, any on the way from sender's server to me) Where there are multiple headers of name requested using $h_foo: you get a

[exim] ${lookup{value}lsearch{file}{yes}{no}} tricks help request

2018-11-13 Thread supportsobaka--- via Exim-users
Could someone help with syntax of ${lookup{value}lsearch{file}{yes}{no}} I'm trying to write a condition that will return "FALSE" if either of hosts from "Received:" headers (yes, any on the way from sender's server to me) is listed in /etc/whitelist_networks, otherwise "TRUE". This will work: