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"
but using two (equivalent?) condition clauses works
accept condition = ${if !def:h_STUFF {true}{false}}
condition = ${if eq {$h_From:} [EMAIL PROTECTED] {true}{false}}
Is there a syntax error in the first ACL clause after all, or is this
some kind of Exim bug?
Exim version 4.67 #6 built 22-Jun-2007 18:38:21
Copyright (c) University of Cambridge 2006
Berkeley DB: Sleepycat Software: Berkeley DB 3.2.9: (February 1, 2005)
Support for: iconv() Perl OpenSSL move_frozen_messages Content_Scanning
Old_Demime Experimental_SRS
Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz pgsql
Authenticators:
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir autoreply pipe smtp
Fixed never_users: 0
Size of off_t: 8
Configuration file is exim/configure
--
## 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/