RE: [exim] Multipile Exim daemons

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Juda Barnes
Date:  
À: 'Christian Schmidt'
CC: exim-users
Sujet: RE: [exim] Multipile Exim daemons


> -----Original Message-----
> From: exim-users-bounces@???
> [mailto:exim-users-bounces@exim.org] On Behalf Of Christian Schmidt
> Sent: Saturday, July 30, 2005 4:37 PM
> To: exim-users@???
> Subject: Re: [exim] Multipile Exim daemons
>
> Hello Juda,
>
> Juda Barnes, 30.07.2005 (d.m.y):
> >
> > I have added the following line in my configuration In
> order enforce
> > exim to listen to that particual Ip address only
> >
> > local_interfaces = 80.179.xxx.yyy
>
> [..]
>
> > [root@tmr input]# exim -bd -C /etc/exim_major.conf -q2m 2005-07-30
> > 12:31:49 Exim configuration error in line 208 of
> /etc/exim_major.conf:
> > main option "interface" unknown
> >
> > Any suggestions ??
>
> exim doesn't know the option "interface" in the context that
> it's used in line 208 of your /etc/exim_major.conf.
>
> Take look at the exim docs about how to use the "interface"
> option in the correct way.
>
> Hint: When specifying "local_interfaces", you probably don't
> need the "interface" option at all.


Actualy you DO need .

when you specify  "local_interface"    it only tell exim to which   IP
address to listen
So in case you have 2 or 10 ip address on your machine and the main IP Addr
is  for example 1.2.3.4 


Then althought the local_interface was sent to    1.2.3.10       each time
the exim was connecting to other
SMTP servers it was using the 1.2.3.4  as source instead of 1.2.3.10  (as I
wanted)



Anyway I found the solution I had to put the interface option within the
remote_smtp at the configuration file
That's the right place to put it.

# This transport is used for delivering messages over SMTP connections.
remote_smtp:

driver = smtp
interface = <; 1.2.3.10



Best regards
Juda Barnes