I wrote a small patch for this bug:
===================================================
--- /usr/sbin/update-exim4.conf.orig    2009-05-02 09:57:17.000000000 +0200
+++ /usr/sbin/update-exim4.conf 2009-05-10 10:32:40.000000000 +0200
@@ -150,7 +150,7 @@
 # add localhost, get rid of spaces, trailing (semi)colons and make the list
 # colon separated
 local_domains="$(echo @:localhost:"${dc_other_hostnames}" | \
-       sed -e 'sÄ[;: ]*$ÄÄ' -e 'sÄ *ÄÄ' -e 'sÄ;Ä:Äg')"
+       env LC_ALL=C sed -e 'sÄ[;: ]*$ÄÄ' -e 'sÄ *ÄÄ' -e 'sÄ;Ä:Äg')"
 
 UPEX4C_internal_tmp="$(tempfile -m600 -p ex4)"
 
===================================================

but I unsure if a better patch would be check for ${dc_other_hostnames}
for non ascii characters, like in:

===================================================
matches=$(echo "${dc_other_hostnames}" | egrep -c '^[A-Za-z0-9.:@-]*$')
if [ "$matches" -ne 1 ]
then
  error ....
fi
local_domains="$(echo @:localhost:"${dc_other_hostnames}" | \
        sed -e 's|[;: ]*$||' -e 's| *||' -e 's|;|:|g')"
===================================================

Bye,
Giuseppe




--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to