|
Question : Exim 4 not including domain/hostname in from field when sending
|
|
Hi,
I have upgraded my server hardware and reinstalled the operating system (Ubuntu). I restored the /etc/exim4 and /etc/mail dirs from the previous version. Outgoing emails from Exim now do not have a domain. Other mail servers are bouncing back the messages with a message including:
** [email protected] R=dnslookup T=remote_smtp: SMTP error from remote mail server after MAIL FROM: SIZE=167335: host mserv1.leeds.ac.uk [129.11.76.151]: 553 5.1.3 ... Hostname required
The mainlog shows the mail going out OK:
2008-01-14 11:12:05 1JENEb-0004P0-6o SA: Action: Not running SA because SAEximRunCond expanded to false (Message-Id: 1JENEb-0004P0-6o). From (host=NULL [127.0.0.1]) for [email protected] 2008-01-14 11:12:05 1JENEb-0004P0-6o <= [email protected] H=(www.myserver.abc) [127.0.0.1] P=esmtp S=907 id=59476.1.2.3.4.1200309125.squirrel@www.myserver.abc
I have tried sending email from alpine, squirrelmail and a simple telnet test with the same results.
Does anyone have any ideas where in the 60-odd configuration files it may be looking for the domain.
Thanks, Tim
|
Answer : Exim 4 not including domain/hostname in from field when sending
|
|
Thanks PeturIngiEgilsson but that HowTo is for an earlier version of Exim. The latest version 4.x does not have eximconfig. To do the same for exim4, use this command:
sudo dpkg-reconfigure exim4-config
I moved the /etc/exim4 dir to backup and then purged and re-installed in exim4 packages. Then ran the reconfigure command. I could then send and received perfectly.
I then had a problem getting spamassassin to work with through sa-exim but found that I had to add
conf.d/main/15_sa-exim_plugin_path
to the configuration and restart.
It all works fine now. Thanks for your help.
Tim
|
|
|