Dovecot:在0秒内没有authentication尝试(IMAP协议)

我在configurationdovecot ony vps时遇到了很多问题。 我已经能够使用端口110发送电子邮件,并使用端口25接收电子邮件,但是我无法使用端口993和995进行连接。我正在使用自签名SSL证书。

当我尝试连接到993时,会logging此错误:

Jun 8 19:06:39 MY_HOSTNAME dovecot: imap-login: Disconnected (no auth attempts in 2 secs): user=<>, rip=MY_IP, lip=MY_VPS_IP, TLS, session=<MY_SESSION> 

当我尝试连接到995这里是错误日志:

 Jun 8 19:08:17 MY_HOSTNAME dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=MY_IP, lip=MY_VPS_IP, TLS: SSL_read() failed: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3 alert certificate unknown: SSL alert number 46, session=<MY_SESSION> 

编辑:我能够通过刷新我的邮件客户端ssl证书来修复这部分。

有人可以帮我吗? 我卡住了:/

非常感谢

编辑2:我能修复它! 这是一些IMAP客户端configuration错误! 不pipe怎么说,还是要谢谢你!

你应该能够转储你的configurationsudo dovecot -n ,这可能有助于发现问题。

我正在运行Ubuntu ,这些是我使用的主要指令:

 # Local auth configuration disable_plaintext_auth = yes auth_failure_delay = 15 secs # Use system auth userdb { driver = passwd } # Also password file passdb { driver = passwd-file args = /etc/dovecot/passwd/passwd.dovecot } # Ensure we have a login process service imap-login { process_min_avail = 1 } # Run auth service for Exim SMTP server service auth { unix_listener auth-client { mode = 0660 group = Debian-exim } } # SSL certificate (Dovecot need to be able to read these) ssl_cert = </etc/dovecot/dovecot.pem ssl_key = </etc/dovecot/private/dovecot.pem # Local imap configuration protocol imap { mail_max_userip_connections = 10 imap_idle_notify_interval = 2 mins }