Re: [EXIM] Strange multiple local interface?

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Daniel Ryde
CC: Exim Users
Subject: Re: [EXIM] Strange multiple local interface?
On Thu, 5 Feb 1998, Daniel Ryde wrote:

> Ummm, it is a diffrent amount from time to time:
>
> # exim -d9
> Exim version 1.82 debug level set to 9
> probably Berkeley DB version 1.8x (native mode)
> Actual local interface address is 127.0.0.1
> Actual local interface address is 195.100.19.2
> Actual local interface address is 195.100.19.2
> Actual local interface address is 195.100.19.2
> Actual local interface address is 195.100.19.2
> Actual local interface address is 195.100.19.2
> Actual local interface address is 195.100.19.2
> Actual local interface address is 195.100.19.2
> Actual local interface address is 195.100.19.2
> Actual local interface address is 195.100.19.2
> user name "root" extracted from gecos field "root"
> exim: neither action flags nor mail addresses given
>
> (I have also put triton.tripnet.se on the first place in local_domains, to
> get rid of the failing dbm lookup on it).


Exim calls the SIOCGIFCONF ioctl to find the local interfaces. This
seems to be one of those things that varies between Unices. There is
some contorted code in there to try to get this right. Perhaps Linux is
being different (again)... The code is in the function
host_find_running_interfaces() in the host.c module.

-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714



--
*** Exim information can be found at http://www.exim.org/ ***