Bug#403605: exim4-config: dc_other_hostnames expanded by the shell,
corrupting it
Marc Haber
mh+debian-packages at zugschlus.de
Tue Dec 19 11:25:18 UTC 2006
package exim4-config
tags #403605 confirmed
On Mon, Dec 18, 2006 at 12:41:27PM +0100, Paul Slootman wrote:
> I have a wildcard MX *.wurtel.net, and that's filled in
> /etc/exim4/update-exim4.conf.conf accordingly:
>
> dc_other_hostnames='wurtel.net : *.wurtel.net : ...'
>
> However, I noticed once that instead of *.wurtel.net, the generated
> config file had db.wurtel.net. At the time I passed that off as an
> error on my part, as when running update-exim4.conf again it was
> correct.
>
> Upon investigation it appeared that if a file exists in the current
> directory that matches *.wurtel.net when update-exim4.conf is run, the
> filename is filled into the config file, hence corrupting it :-(
> update-exim4.conf echoes the value of dc_other_hostnames without any
> quoting!
The culprit is line 126 of update-exim4.conf. Please try replacing it
with
local_domains="$(echo localhost:"${dc_other_hostnames}" | \
quoting the occurrence of ${dc_other-hostnames}.
Please report back whether this fixes the issue for you (it does for
me), and I'll commit this change, along with some more quotes in
other parts of the script.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
More information about the Pkg-exim4-maintainers
mailing list