gcc4: exim4 refuses to route mail to smarthost
Hello,
exim4 is stangely broken in gcc4.
I have exim4-daemon-light version 4.50-6 installed.
I have configured it to send mail through a smarthost.
(I'm attaching my /etc/exim4/update-exim4.conf.conf)
When I send an email to any non-local address, exim4 decides that it is
"Unrouteable address" and marks the email as frozen in the queue.
Here is the relevant output from running exim4 in testing mode:
# exim4 -d -bt xschmi00@stud.feec.vutbr.cz
[...]
--------> smarthost router <--------
local_part=xschmi00 domain=stud.feec.vutbr.cz
checking domains
stud.feec.vutbr.cz in "@:localhost:a05-0930b.kn.vutbr.cz"? no (end of list)
stud.feec.vutbr.cz in "! +local_domains"? no (matched "! +local_domains")
smarthost router skipped: domains mismatch
[...]
As the domain stud.feec.vutbr.cz is not a local domain, the rule
"! +local_domains" should have succeded and there should not be a
domains mismatch here.
I've downloaded and installed exim4-daemon-light_4.50-6_amd64.deb from
pure64. Now it works fine:
# exim4 -d -bt xschmi00@stud.feec.vutbr.cz
[...]
--------> smarthost router <--------
local_part=xschmi00 domain=stud.feec.vutbr.cz
checking domains
stud.feec.vutbr.cz in "@:localhost:a05-0930b.kn.vutbr.cz"? no (end of list)
stud.feec.vutbr.cz in "! +local_domains"? yes (end of list)
R: smarthost for xschmi00@stud.feec.vutbr.cz
calling smarthost router
smarthost router called for xschmi00@stud.feec.vutbr.cz
[...]
When I reinstall exim4-daemon-light_4.50-6_amd64.deb from the gcc4
archive, it breaks again.
Regards
Michal Schmidt
# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'
dc_eximconfig_configtype='smarthost'
dc_other_hostnames='a05-0930b.kn.vutbr.cz'
dc_local_interfaces='127.0.0.1'
dc_readhost='hammerfall'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='smtp.kn.vutbr.cz'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='false'
dc_mailname_in_oh='true'
Reply to: