在 IMAP 下無法使用 postfix/dovecot 和 mysql 登入

在 IMAP 下無法使用 postfix/dovecot 和 mysql 登入

我使用 dovecot/postfix 和 MySQL 對自己的郵件伺服器進行了以下安裝: https://thomas-leister.de/internet/mailserver-ubuntu-server-dovecot-postfix-mysql/

如果你看到設定 MySQL 伺服器的部分,我的第一個問題是我的設定是否正確。我的資料庫中有三個表,vmail分別稱為aliasesdomainsusers。我domains設定了連結到我的伺服器的網域位址(例如 mho.de)。在aliases我設定哪些郵件應轉寄到另一個郵件地址,在使用者中我設定包含有關 和對應資訊usernamedomain使用者password

現在,如果我想在郵件用戶端中設定電子郵件帳戶,我會在伺服器上收到以下訊息,並且客戶端無法連接到伺服器:

Jun 17 17:48:47 vserver dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=from_ip, lip=dest_ip, TLS: Disconnected, session=<8mBXFAr87QDVkvRR>

相關內容