使用 neomutt 的 Postfix/Dovecot 郵件伺服器

使用 neomutt 的 Postfix/Dovecot 郵件伺服器

我使用 Dovecot 和 Postfix 在 Archlinux 上設定了一個郵件伺服器。我設定了一個網域,包括 SSL、MX 記錄、DMARC 等。

一切工作正常,除了我在 Neomutt 中使用它時遇到問題。要新增我正在使用的帳戶mutt-wizard-git(在 AUR 中),但每次我嘗試新增它時都會收到下面的錯誤訊息。我查了一下,但找不到任何與電子郵件或 mutt 相關的資訊。這看起來很奇怪,因為其他郵件用戶端在我的電腦上可以完美地處理此郵件。

我使用 IMAP 連接埠 993 和 SMTP 連接埠 465。

$name(我用、$domain和替換了敏感資訊$IP_ADDRESS。)

[master e18e4f6] Add given password for mutt-wizard-$name to store.  
 1 file changed, 0 insertions(+), 0 deletions(-)  
 create mode 100644 mutt-wizard-$name.gpg  
Creating profiles for `$name`...DONE.  
SSL error connecting $domain ($IP_ADDRESS:993): unable to get local issuer   certificate
Log-on not successful.  
It seems that either you inputted the wrong password or server settings, or there are other requirements for your account out of the control of mutt-wizard.

如何讓它發揮作用?

答案1

透過取得伺服器憑證並告訴 mbsync 使用它,我能夠解決這個問題。

相關內容