Re: [exim] ${lookup{value}lsearch{file}{yes}{no}} tricks hel…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Jeremy Harris
Datum:  
To: exim-users
Betreff: Re: [exim] ${lookup{value}lsearch{file}{yes}{no}} tricks help request
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 newline-separated list. You could walk that list in
an expansion condition "forany", calling your lookup for each one.

http://exim.org/exim-html-current/doc/html/spec_html/ch-string_expansions.html#SECTexpcond

--
Cheers,
Jeremy