今天搭建sendmail+dovecot邮件服务 步骤明明正确,却用foxmail怎么也连不上。主要有2处问题。

1.

Plaintext authentication disallowed on non-secure (SSL/TLS) connections

google查到

If you do not want to use SSL/TLS connection to get your email, and to disable SSL/TLS secure connection, do the following:

1. Edit dovecot configuration file: /etc/dovecot.conf using your favorite Linux editor such as vi or pico.

2. Change the value for this directive from:

disable_plaintext_auth = yes

TO:

disable_plaintext_auth = no

3. Restart dovecot and exim Mail server

问题解决


2 Initialization failed: mail_location not set and autodetection failed

修改 /etc/dovecot/conf.d/10-mail.conf 去掉 mail_location = mbox:~/mail:INBOX=/var/mail/%u前面的#号,重启dovecot。

foxmail可以使用邮件服务器了