Re: [Exim] Re: String expansion problem in exim 4.03

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Steffen Herold
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] Re: String expansion problem in exim 4.03
On Tue, 23 Apr 2002, Steffen Herold wrote:

> failed to expand condition"${if and { {! match{$header_X_Mailman}{'2.0.5'}}{!
> match{$header_rpscan}{'by RP-MailScan'}}{ eq{Y}{${lookup mysql{SELECT
> activate FROM aresponse WHERE domain LIKE '${quote_mysql:$domain}' AND
> username LIKE '${quote_mysql:$local_part}'}{$value}{fail}}}}}{true}{false}}"
>
> for autoresponse router: missing 2nd string in {} after "match"


You have forgotten that you need to terminate header names with :
because characters like } are actually permitted in header names by RFC
2822. (Any printing character except space and : is permitted in a
header name.)


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.