Lähettäjä: Jeremy Harris
Päiväys:
Vastaanottaja: exim-users
Aihe: Re: [exim] condition = lookup not working
On 31/12/13 11:17, Gary Stainburn wrote:
> condition = ${if ${lookup{$sender_helo_name} \
> partial-lsearch{/etc/exim/no_rate_limit}} {no}{yes} }
[...]
> 2013-12-31 11:08:06 H=mta20134.pur3.net [94.236.20.134] temporarily rejected
> MAIL <agent@???>: failed to expand ACL string "${if
> ${lookup{$sender_helo_name} partial-lsearch{/etc/exim/no_rate_limit}} {no}
> {yes} }": condition name expected, but found "${lookup{$sender"
>
${if <condition> }
the lookup is not a condition.
http://exim.org/exim-html-current/doc/html/spec_html/ch-string_expansions.html#SECTexpcond
--
Cheers,
Jeremy