[exim] Bug in exim 4.67 string expansion parser?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Thomas Jacob
Date:  
À: exim-users
Sujet: [exim] Bug in exim 4.67 string expansion parser?
The following ACL clause causes an error

accept condition = ${if and { {!def:h_STUFF} \
         {eq {$h_From:} {hq@???}} } {true}{false} }



"temporarily rejected after DATA: failed to expand ACL string "${if and
{{!def:h_STUFF} {eq {$h_From:} {hq@???}}} {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:} {hq@???} {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