![Courier imap ssl 不会在重启时启动](https://linux22.com/image/689741/Courier%20imap%20ssl%20%E4%B8%8D%E4%BC%9A%E5%9C%A8%E9%87%8D%E5%90%AF%E6%97%B6%E5%90%AF%E5%8A%A8.png)
我最近从 Ubuntu 12.06 升级到了 16.06。
我有一个可以正常工作的 Courier IMAP 设置,其中包含非 SSL 和 SSL 配置。当我重新启动时,非 SSL 版本启动,而 SSL 版本没有启动。
我已经完成了“systemctl enable courier-imap-ssl”
当我重新启动时它似乎启动了:
Sep 11 16:14:32 x systemd[1]: Starting Courier Authentification Daemon...
Sep 11 16:14:32 x systemd[1]: Starting LSB: Courier IMAP server...
Sep 11 16:14:32 x systemd[1]: Starting LSB: Courier IMAP-SSL server...
Sep 11 16:14:32 x systemd[1]: Starting LSB: saslauthd startup script...
Sep 11 16:14:32 x systemd[1]: Started Courier Authentification Daemon.
Sep 11 16:14:32 x courier-imap-ssl[3570]: * Starting Courier IMAP-SSL server imapd-ssl
Sep 11 16:14:33 x courier-imap-ssl[3570]: ...done.
Sep 11 16:14:33 x systemd[1]: Started LSB: Courier IMAP-SSL server.
Sep 11 16:14:33 x courier-imap[3569]: * Starting Courier IMAP server imapd
Sep 11 16:14:33 x courier-imap[3569]: ...done.
Sep 11 16:14:33 x systemd[1]: Started LSB: Courier IMAP server.
Sep 11 16:14:33 x systemd[1]: Started LSB: saslauthd startup script.
然而,当我登录后不久,ssl 版本的 couriertcpd 并没有显示为一个进程。
如果我随后“service start courier-imap-ssl”,它就会正常启动并保持运行。
有什么建议吗?
答案1
$ systemctl 状态 courier-imap-ssl
imapd-ssl[#]: bind: 无法分配请求的地址
开箱即用的启动脚本缺少 $network 依赖项。