Parameter "interfaces"

Guru Woolfi guru-woolfi at hotmail.com
Tue May 16 22:18:54 UTC 2006


"local_interfaces" is not "interface"

=============== snippet from the exim 4.5 specifcation document:

interface
Use:  smtp
Type:  string list, expanded
Default:  unset

This option specifies which interface to bind to when making an outgoing 
SMTP call. The variables $host and $host_address refer to the host to which 
a connection is about to be made during the expansion of the string. Forced 
expansion failure, or an empty string result causes the option to be 
ignored. Otherwise, after expansion, the string must be a list of IP 
addresses, colon-separated by default, but the separator can be changed in 
the usual way. For example:

  interface = <; 192.168.123.123 ; 3ffe:ffff:836f::fe86:a061

The first interface of the correct type (IPv4 or IPv6) is used for the 
outgoing connection. If "none of them are the correct type, the option is 
ignored. If interface is not set, or is ignored, the system's IP functions 
choose which interface to use if the host has more than one.

local_interfaces
Use:  main
Type:  string list
Default:  see below

This option controls which network interfaces are used by the daemon for 
listening; they are also used to identify the local host when routing. 
Chapter 13 contains a full description of this option and the related 
options daemon_smtp_ports, extra_local_interfaces, hosts_treat_as_local, and 
tls_on_connect_ports. The default value for local_interfaces is

  local_interfaces = 0.0.0.0

when Exim is built without IPv6 support; otherwise it is

  local_interfaces = <; ::0 ; 0.0.0.0

=============== end snippet from the exim 4.5 specifcation document:

I want to force the daemon to use an explicit IP for OUTBOUND connection, 
not the listening part.

kind regards
woolfi


>From: Andreas Metzler <ametzler at downhill.at.eu.org>
>To: guru-woolfi at hotmail.com
>CC: pkg-exim4-maintainers at lists.alioth.debian.org
>Subject: Re: Parameter "interfaces"
>Date: Mon, 15 May 2006 20:18:36 +0200
>
>On 2006-05-15 guru-woolfi at hotmail.com wrote:
> > Is possible to implement the interfaces parameter into
> > update-exim4.conf to force the smtpd daemon to use a specific
> > official IP?
>
>Already there.
>etzler at argenau:~$ grep interfa /etc/exim4/update-exim4.conf.conf
>dc_local_interfaces='127.0.0.1'
>
>cu andreas





More information about the Pkg-exim4-maintainers mailing list