我的 Linux 版本是 Ubuntu 18.04,postfix 运行良好。经过一些 dovecot 配置后,当我输入
netstat -ntl
我在显示的列表中找到了端口“993”和“995”。然后我输入
telnet localhost 993
它打印
Trying ::1...
Connected to ***.com
Escape character is '^]'.
我觉得很奇怪,没有“dovecot 已经存在”。而且我给这个账号发邮件,也收不到。
还有一些配置。/etc/dovecot/dovecot.conf
mail_location = maildir:~/Maildir
!include_try /usr/share/dovecot/protocols.d/*.protocol
protocols = imap pop3
listen = *, ::
ssl = no
# ssl_cert =< /etc/ssl/certs/dovecot.pem
# ssl_key =< /etc/ssl/private/dovecot.key
dict {
}
!include conf.d/*.conf
!include_try local.conf
/etc/dovecot/conf.d/10-ssl.conf
ssl = required
ssl_cert = </etc/dovecot/private/dovecot.pem
ssl_key = </etc/dovecot/private/dovecot.key
disable_plaintext_auth = no
/etc/dovecot/conf.d/10-auth.conf
disable_plaintext_auth = yes
auth_mechanisms = plain
!include auth-system.conf.ext