Red face - finally located the difference between the old update-exim4.conf.conf file and the new one. The server serves several different domains and finally twigged the fact that in the old file the dc_other_hostnames data was separated by semicolons whereas I had separated them with spaces in the new one, edit the file to put in the semicolons - run 'dpkg-reconfigure exim4-config' and it all starts to work as advertised.
Cheers, Trevor -----Original Message----- From: Jim Tittsler [mailto:[email protected]] Sent: Monday, 4 May 2009 4:42 p.m. To: [email protected] Subject: Re: Exim4 rejects all incoming messages to local domain On 2009-05-04 16:01, Trevor de Stigter wrote: > I have been running exim4 on a Linux (Ubuntu through several versions) > server. When I upgraded to 9.04 the machine started to throw bad sector > type errors so I have now set up a new server, but when I powered it up > I found that I have a configuration problem, all incoming messages for > the local domains are being rejected "rejected RCPT > <[email protected]>: relay not permitted" I can find no way to It sounds like trevor.selfip.net is not listed as either primary_hostname nor one of the local_domains. (The default Ubuntu scheme doesn't typically explicitly set primary_hostname which causes Exim to use uname(), gethostbyname() or getipnodebyname() to try to figure it out... which suggests your new server installation doesn't know its default name is trevor.selfip.net. Does your /etc/hosts differ from your old one?) Alternative fixes are to include trevor.selfip.net in dc_other_hostnames (1) by 'dpkg-reconfigure exim4-config' or (2) by editing /etc/exim4/update-exim4.conf.conf by hand and then running /usr/sbin/update-exim4.conf. No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.287 / Virus Database: 270.12.16/2094 - Release Date: 05/03/09 16:51:00
