Recently I had a problem sending mail to recipients at AOL. Upon investigation, using AOLs ipconfirm tool, it was apparent that the reported IP address wasn''t what I considered to be my primary IP address but rather the last on the list of aliased addresses. The snipped example output of exim4 -d+interface -bt somebody@somedomain.com Actual local interface address is 127.0.0.1 (lo) Actual local interface address is 91.xxx.xxx.20 (eth0) Actual local interface address is 91.xxx.xxx.21 (eth0:0) Actual local interface address is 91.xxx.xxx.22 (eth0:1) Actual local interface address is 91.xxx.xxx.23 (eth0:2) Actual local interface address is ::1 (lo) Actual local interface address is [IPv6 address] (eth0) The reported IPv6 address doesn''t seem to be valid. The FQDN has a DNS and rDNS entry equating to the primary IPv4 address. I have "fixed" the problem by inserting interface = 91.xxx.xxx.20 I have two questions - where does the IPv6 entry come from and why does the 91.xxx.xxx.23 address get used? I am using Exim version 4.62-1 -- Regards, Iain.
On Thu, Feb 15, 2007 at 02:31:19PM +0000, Iain Mac Donald wrote:> The snipped example output of exim4 -d+interface -bt > somebody@somedomain.com > > Actual local interface address is 127.0.0.1 (lo) > Actual local interface address is 91.xxx.xxx.20 (eth0) > Actual local interface address is 91.xxx.xxx.21 (eth0:0) > Actual local interface address is 91.xxx.xxx.22 (eth0:1) > Actual local interface address is 91.xxx.xxx.23 (eth0:2) > Actual local interface address is ::1 (lo) > Actual local interface address is [IPv6 address] (eth0)What does "ip addr" say?> I have two questions - where does the IPv6 entry come fromI could give a definitive answer if you hadn''t obfuscated your request, see http://www.exim.org/eximwiki/DontObfuscate. With the current state of affairs I can only guess that this is an autoconfigured link local IPv6 address.> and why does the 91.xxx.xxx.23 address get used?The output of ip addr might help here. I generally configure a "primary" IP address with correct netmask and additional ones with a /32 netmask to keep them from being used for outgoing connections. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
On Thu, 2007-02-15 at 15:42 +0100, Marc Haber wrote:> What does "ip addr" say? >Ah yes I was so busy looking for a configuration entry I didn''t try the obvious. The "offending" IPv6 address is shown for my eth0 interface. It is a link local address generated from the MAC address. I have previously left the IPv6 stuff un-configured - maybe time to start putting some sensible data in place.> > and why does the 91.xxx.xxx.23 address get used? > > The output of ip addr might help here. >I''m still using ifconfig which might also be part of the problem. Just speculating but maybe Exim is checking using the IPv6 address, which fails, and it then moves onto each interface in turn ultimately landing on the last aliased address. Time to install some new packages, use IPv6 and do some testing. Thanks for the pointers. -- Regards, Iain.