[Exim] curly bracket mess

Top Page
Delete this message
Reply to this message
Author: cjackson
Date:  
To: exim-users
Subject: [Exim] curly bracket mess
Please help me determine where this condition is screwy. The error is:
missing } at end of string - could be header name not terminated by colon

BTW, Line 6 tests for bounces. Is {} the right syntax?

1 hide condition = ${if and { \
2        { eq {${lookup ldap {user="cn=admin,dc=localsurface,dc=com" \
3        pass=PASS
ldap:///cn=${quote_ldap:$local_part},ou=${quote_ldap:$domain}, \
4        dc=localsurface,dc=com?outOfOffice?sub?}}}{true}} \
5        { eq {$h_to}{$local_part@$domain}} \
6        { ! eq {$sender_address}{}} \
7        { ! eq {$h_from}{$local_part@$domain}} \
8        { ! match{$h_from}{\server@\}} \
9        { ! match{$h_from}{\daemon@\}} \
10      { ! match{$h_from}{\root@\}} \
11      { ! match{$h_subject}{\circular\}} \
12      { ! match{$h_subject}{\bulk\}} \
13      { ! match{$h_subject}{\list\}} \
14      { ! match{$h_subject}{\junk\}} \
15      { ! match{$h_subject}{\SPAM\}} \
16      { ! match{$h_subject}{\ADV\}} \
17      }{yes}{no}}


Thanks,
Craig

--

Craig Jackson
__________________________

localsurface.com
__________________________