Bug#290954: return_path macro generates invalid syntax

Adam D. Barratt "Adam D. Barratt" <debian-bts@adam-barratt.org.uk>, 290954@bugs.debian.org
Mon, 17 Jan 2005 22:34:10 +0000


Package: exim4-config
Version: 4.43-3

Hi,

As noted on exim-users (the thread starting at
http://www.exim.org/mail-archives/exim-users/Week-of-Mon-20050117/msg00036.html), the recent changes to return_path in update-exim4.conf lead to the generated configuration file failing to parse.

This is due to a set of missing braces around the inner if; i.e. it
should read:

<quote>
return_path = ${if match_domain{$sender_address_domain}{+local_domains}
\
                   {$sender_address_local_part@DCreadhost} \
                   {${if match_domain{$sender_address_domain}{macbob} \
                   ^     {$sender_address_local_part@DCreadhost} \
                   ^     fail }} }
                   ^           ^
                   ^           ^
</quote>

Regards,

Adam