This site is now 100% read-only, and retired.

exim4 upgrade puzzle

Posted by Cunagcleas on Mon 3 Oct 2005 at 11:42

I take care of a small group of workstations/servers running Debian stable. I've gradually been upgrading them all from exim3 to exim4 and until today the upgrades have gone very smoothly. I decided that I should finally upgrade exim on the last (and busiest) of these machines this evening and ran into a problem that I can't figure out.

The upgrade seemed to go smoothly and I supplied the same answers to debconf as I had supplied in the case of the other systems (modulo domain names and so on). Outgoing mail works fine, but incoming mail is bounced with this complaint:

The following addresses had permanent fatal errors -----
name@[123.456.789.10]
    (reason: 501 : domain literals not allowed)
I know what the error message is telling me, and I understand why delivery to literal IP addresses is disabled by default in exim4. But I don't understand why domain literals are being used at all. The test mails I have sent from various machines are addressed in the normal way to name@foo.bar.net; they are not addressed to name@123.456.789.10.

And what puzzles me most is the fact that the configuration of exim4 on the machine which bounces mail is exactly the same as the configuration of exim4 on the other machines, which deliver mail without complaint (as far as I can tell, at any rate, from examining the files in /etc/exim4/ and /etc/exim4/conf.d).

Given this, I reason that there must be some aspect of the network configuration on the problematic machine which is different from that on the machines which work as one would like them to. But I'm damned if I can see what that difference could be. What configuration or misconfiguration could persuade exim4 that it had to attempt delivery to name@[123.456.789.10] rather than to name@foo.bar.net?

If anyone has any ideas on this, or could point me to some useful source of information, I would be very grateful indeed.

Thanks,

C

 

 


Re: exim4 upgrade puzzle
Posted by Anonymous (193.195.xx.xx) on Mon 3 Oct 2005 at 12:58
Maybe you should work out whats sending the actual emails and fix that?

[ Parent ]

Use the debugging information available ...
Posted by Steve (82.41.xx.xx) on Mon 3 Oct 2005 at 13:37
[ View Weblogs ]

Maybe it would be useful to run exim4 in debug mode, and see what happens?

If you run the following command you should get some useful feedback:

/usr/sbin/exim4 -C /var/lib/exim4/config.autogenerated -d -bt steve@example.com

Here I'm assuming that you're using the "split" configuration which Debian defaults to - as discussed here. If you do that these files will be output to /var/lib/exim4/config.autogenerated and that will be the file exim will use.

If there isn't anything obvious then post the output and somebody might have a hint or two ..

Steve
--

[ Parent ]

Re: exim4 upgrade puzzle
Posted by bait (24.108.xx.xx) on Tue 4 Oct 2005 at 13:52
It could be an automated message, check the spool to see if there are any emails still there.

[ Parent ]