On Tuesday 24 July 2007 19:39, Thomas Jacob wrote:
> The following ACL clause causes an error
>
> accept condition = ${if and { {!def:h_STUFF} \
> {eq {$h_From:} [EMAIL PROTECTED] } {true}{false} }
>
>
> "temporarily rejected after DATA: failed to expand ACL string "${if and
> {{!def:h_STUFF} {eq {$h_From:} [EMAIL PROTECTED] {true}{false}}":
> missing } at end of condition inside "and" group"
A header name has to be terminated with a colon, even together with the def
operator.
> but using two (equivalent?) condition clauses works
>
> accept condition = ${if !def:h_STUFF {true}{false}}
> condition = ${if eq {$h_From:} [EMAIL PROTECTED] {true}{false}}
... or whitespace, like here.
--
Magnus Holmgren [EMAIL PROTECTED]
(No Cc of list mail needed, thanks)
"Exim is better at being younger, whereas sendmail is better for
Scrabble (50 point bonus for clearing your rack)" -- Dave Evans
pgpFJjZfGI55N.pgp
Description: PGP signature
-- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
