[Dovecot] Wait for interface to become available instead of dying?

Sebastian Arcus shop at open-t.co.uk
Tue Jun 11 10:00:06 EEST 2013


On 11/06/13 00:21, Reindl Harald wrote:
>
> Am 10.06.2013 21:04, schrieb Sebastian Arcus:
>> On 10/06/13 13:14, Reindl Harald wrote:
>>>
>>> Am 10.06.2013 11:45, schrieb Sebastian Arcus:
>>>> At the moment, if one of the interfaces specified with "listen=" in dovecot.conf is not up when Dovecot is started,
>>>> then Dovecot just refuses to start. Is there an option to make Dovecot start anyway, and just use the interface
>>>> when it becomes available? It is inconvenient to have Dovecot refuse to start during boot because some interface is
>>>> temporarily not available.
>>>>
>>>> Then again, maybe there is some strong security reasoning behind the way Dovecot behaves at the moment?
>>>
>>> the main question is why do you not order the start of your services correctly
>>> how should a application bind to a specific interface if it is not up?
>>
>> The order of services is fine as it is. The problem is that if any of the interfaces Dovecot is supposed to be
>> binding to is missing, Dovecot seems to refuse to start at all
>
> where i work and config servers *i want* the to fail if the config is wrong
>
>> instead of just binding to what is available
>
> is not a predictable configuration if you specify ecplicit interfaces
>
>> openvpn service for example might have been reconfigured on a different IP
>
> so why the hell to you not config dovecot with "address = *" if you want this

Steady now. I was only asking a question. No need to burst a blood 
vessel over this. Some people prefer their systems to work slightly 
differently than others. It's the way of the world.

Thank you for taking the time to answer.


More information about the dovecot mailing list