[exim] Failed to expand return_path

Top Page
Delete this message
Reply to this message
Author: Cliff White
Date:  
To: exim-users
Subject: [exim] Failed to expand return_path

Just upgraded to latest Debian unstable exim4,
version shows exim4 4.34 -
Didn't change configuration, am now getting this error in
logs: ( sorry for the long lines )

2005-01-17 09:38:18 1CqapV-00013b-NM == blastedone@??? R=smarthost T=remote_smtp_smarthost defer (-1): Failed to expand return path "${if match_domain{$sender_address_domain}{+local_domains}{${sender_address_local_part}@macbob}${if match_domain{$sender_address_domain}{easystreet.com}{${sender_address_local_part}@macbob}fail}}": syntax error in "if" item - "fail" expected

System is configured to use remote_smtp_smarthost for outgoing:

remote_smtp_smarthost:
debug_print = "T: remote_smtp_smarthost for $local_part@$domain"
driver = smtp
hosts_try_auth = ${if exists {CONFDIR/passwd.client}{DCsmarthost}{}}
tls_tempfail_tryclear = false
headers_rewrite = *@+local_domains $1@DCreadhost frs : *@easystreet.com $1@DCreadhost frs
return_path = ${if match_domain{$sender_address_domain}{+local_domains}{${sender_address_local_part}@DCreadhost}${if match_domain{$sender_address_domain}{easystreet.com}{${sender_address_local_part}@DCreadhost}fail}}

Can some kind soul help my with the synatx on this?
cliffw