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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jeremy Harris
日付:  
To: exim-users
題目: 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