2024-03-29
black flat screen computer monitor

Photo by Markus Spiske on <a href="https://www.pexels.com/photo/black-flat-screen-computer-monitor-8247921/" rel="nofollow">Pexels.com</a>

今天將這台主機的多項元件更新升級後, 發現 cyberpanel 後端的 rainloop mail無法登入, 檢查 mail service – dovecot 的 log 後, 發現驗證方式變成了 pam, 也就是系統用的使用者帳密, 不是 cyberpanel 使用的 mysql 資料庫.

原因為升級了 dovecot 後, 原本的 /etc/dovecot/dovecot.conf 更新為預設了, 還好原始的 dovecot.conf 被 rename 為 dovecot.conf.ucf-old (ucf 為 “update configuration files”, 也就是因為升級而被調整的 config 檔案, 留下之前的備份參考).

於是把 dovecot.conf (新) 改名後, 再將原來的備份 dovecot.conf.ucf-old 改回 dovecot.conf 後, 重起 dovecot 服務, rainloop mail 即可登入正常了, 呼….

ucf reference: http://manpages.ubuntu.com/manpages/hirsute/en/man1/ucf.1.html

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

Enable Notifications OK No thanks