exim4使用错误的邮件服务器主机名

由于我们的公司IT组更改了公司邮件服务器的网关IP地址和主机名,因此电子邮件不再适用于我的Linux机器(Debian 6)。 我已经改变了个人电脑的网关地址,但它仍然试图parsing旧的服务器的名称,这当然失败了。 以下是手动发送testing电子邮件时的输出摘要:

--------> smarthost router <-------- local_part=john.doe domain=bigcompany.com checking domains bigcompany.com in "@:localhost:coiengrg.foo.com"? no (end of list) bigcompany.com in "! +local_domains"? yes (end of list) R: smarthost for [email protected] calling smarthost router smarthost router called for [email protected] domain = bigcompany.com route_item = * lisl-xbck-c1-v1.bigcompanyglobal.com byname bigcompany.com in "*"? yes (matched "*") original list of hosts = "lisl-xbck-c1-v1.bigcompanyglobal.com" options = byname expanded list of hosts = "lisl-xbck-c1-v1.bigcompanyglobal.com" options = byname set transport remote_smtp_smarthost finding IP address for lisl-xbck-c1-v1.bigcompanyglobal.com calling host_find_byname gethostbyname2(af=inet6) returned 3 (NO_RECOVERY) gethostbyname2(af=inet) returned 1 (HOST_NOT_FOUND) no IP address found for host lisl-xbck-c1-v1.bigcompanyglobal.com lisl-xbck-c1-v1.bigcompanyglobal.com in dns_again_means_nonexist? no (option unset) smarthost router: defer for [email protected] message: host lookup for lisl-xbck-c1-v1.bigcompanyglobal.com did not complete (DNS timeout?) [email protected] cannot be resolved at this time: host lookup for lisl-xbck-c1-v1.bigcompanyglobal.com did not complete (DNS timeout?) 

这个过时的邮件服务器主机名是从哪里来的,我怎样才能让PC使用(或请求?)正确的?

configuration应该在/etc/exim4/update-exim4.conf.conf 。 你可以直接编辑这个文件并重新加载exim4。 但是,build议的更新过程是运行sudo dpkg-reconfigure exim4-config命令,并在出现提示时更改主机名。