On 2013-06-10 02:45, Sebastian Arcus wrote:
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?
Depending on platform, but on Linux:
sysctl -w net.ipv4.ip_nonlocal_bind = 1
And presto. Do note that figuring out that some applications are then misconfigured is a lot of fun, though 'netstat -anp' will help with that. (-p only as root on again Linuxes)
Greets, Jeroen