Bug#392831: Allow dsearch in other_hostnames

Toby Chamberlain tjchamberlain at hotmail.com
Thu Apr 12 17:36:05 UTC 2007


Package: exim4-config
Version: 4.63-17

A simple change to update-exim4.conf allows the use of dsearch (and others) 
in dc_other_hostnames:

diff /usr/sbin/update-exim4.conf.orig. /usr/sbin/update-exim4.conf
127c127
<       sed -e 'sÄ[;: ]*$ÄÄ' -e 'sÄ *ÄÄ' -e 'sÄ;Ä:Äg' )"
---
>       sed -e 'sÄ[;: ]*$ÄÄ' -e 'sÄ *ÄÄ' -e 'sÄ;Ä:Äg' -e 'sÄ=Ä;Äg' )"

With this change "dc_other_hosts=host1;dsearch=/etc/exim4/virtual" works as 
expected (although maybe there's a better character than "=" as there's 
already one on the line)

While it does seem a bit convoluted - changing semi-colons to colons and 
then some other character to semi-colons - I think the benefit of having the 
feature far outweighs the wierdness.

Toby 





More information about the Pkg-exim4-maintainers mailing list