起初,我安装了Postfix和Dovecot,并选择了一个空的配置,认为我会自己配置它。尝试使用sudo apt-get install dovecot-imapd安装dovecot之后,我会遇到以下错误:
The following NEW packages will be installedUnpacking dovecot-imapd (from .../dovecot-imapd_1%3a2.1.7-7_amd64.deb) ...Setting up dovecot-
命令systemctl list-sockets显示与端口993相关联的正确服务dovecot。编辑:我注意到了另一件奇怪的事情: Sytemd报告说,davecot正在监听端口143 (imap),而dovecot被配置为不监听端口143。我在日志中得到了这样的警告:dovecot: master: Error: systemd listens on port 143, but it's not configured in Dovecot
settings: postmaster_address setting not given
通过将"postmaster_address = postmaster@example.com"添加到文件/etc/dovecot00:27:19 xxxxxxxx postfix/smtpd[28713]: warning: cannot get RSA certificate from file /etc/ssl/certs/dovecot.pem:error:020010