Re: Exim 4 bug? (was: [Exim] Exim 3 multiple Ports) (*should…

Pàgina inicial
Delete this message
Reply to this message
Autor: Dave C.
Data:  
A: Philip Hazel
CC: exim-users, James P. Roberts
Assumpte: Re: Exim 4 bug? (was: [Exim] Exim 3 multiple Ports) (*should* have been: Exim 4 multiple ports)

> > I didn't think there was, because I'd forgotten about:
> >
> > > local_interfaces = 0.0.0.0.25 : 0.0.0.0.587
> >
> > I think that will work in lots of cases. I should document it.
>
> Argh. I've just managed (after much pulling of hair) that this breaks
> exim's detection of its local name.
>
> Eg, @mx_any and company no longer work, it will happily send messages
> back to itself if its the secondary mx and the primary is out.. etc..
>
> Obviously this is not a workable condition ;)
>
> It would be nice if deamon_smtp_port did accept multiple ports, and exim
> would listen on them all.
>
> There currently doesnt appear to be any way to tell exim to listen on
> all IP addresses on the machine and on multiple TCP ports without
> specifically listing all the IP's and all the ports.


Actually, I just tried:

local_interfaces = 0.0.0.0.25 : 0.0.0.0.587
hosts_treat_as_local = $primary_hostname

And that seems to be a decent workaround.