Re: [exim] allowing bind to fail

Page principale
Supprimer ce message
Répondre à ce message
Auteur: W B Hacker
Date:  
À: exim users
Sujet: Re: [exim] allowing bind to fail
Jim Gottlieb wrote:
> On 2009-05-13, at 20:43, W B Hacker wrote:
>
>> Presuming you seek a 'portable' configure files, do it as in the
>> configure.default file shipped with Exim:
>>
>> Do not specify 'local_interfaces' at all.
>
> This has the same effect:
>
>    socket bind() to port 25 for address (any IPv4) failed: Address  
> already in use:

>
>
>> Wildcarding also works:
>>
>> local_interfaces = *


... but not with that setting.

>
>    Malformed IP address "*" in local_interfaces

>



One needs either to leave it out (the default is to listen on all),

ELSE - use '0.0.0.0'

For more details, plus IPV6 see:

http://www.exim.org/exim-html-4.69/doc/html/spec_html/ch13.html

> Next I will try the suggestion of using include_if_exists.
>


That is better any time one wants to steer which IP to use, and leave others out.

Bill