1

Topic: iredmail 连接至IMAP服务器失败

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
======== Required information ====
- iRedMail version (0.9.7):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (MySQL):
- Web server (Nginx):
- Manage mail accounts with iRedAdmin-Pro?   Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.

/var/log/maillog 日志
Aug 30 15:43:19 mx roundcube: <kjosg0kc> IMAP Error: Login failed for postmaster@moovpay.com from 118.201.137.62. Empty startup greeting (127.0.0.1:143) in /var/www/roundcubemail-1.3.0/program/lib/Roundcube/rcube_imap.php on line 196 (POST /mail/?_task=login&_action=login)

/var/log/dovecot 日志
Aug 30 15:51:49 mx dovecot: master: Error: service(imap-login): command startup failed, throttling for 4 secs


端口监听
[root@mx ~]# netstat -nlpt | grep dovecot
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN      8091/dovecot
tcp        0      0 0.0.0.0:143             0.0.0.0:*               LISTEN      8091/dovecot
tcp        0      0 127.0.0.1:24            0.0.0.0:*               LISTEN      8091/dovecot
tcp        0      0 127.0.0.1:4190          0.0.0.0:*               LISTEN      8091/dovecot
tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN      8091/dovecot
tcp        0      0 0.0.0.0:995             0.0.0.0:*               LISTEN      8091/dovecot

安装godaddy SSL证书后登录mail失败,返回 连接至IMAP服务器失败
====

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: iredmail 连接至IMAP服务器失败

-请贴一下 "doveconf -n" 命令的输出。
-请重启服务器后立即查看 /var/log/dovecot/dovecot.log 里是否有错误信息。
-请打开 dovecot 的 debug 参数后,重新尝试登陆 Roundcube,并查看 dovecot.log 及 /var/log/dovecot/imap.log 里是否有相关的错误信息。

注意:贴日志请务必贴和该测试相关的完整 log ,否则会导致帮忙分析的人只能断章取义和靠猜测来分析。

3

Re: iredmail 连接至IMAP服务器失败

重启dovecot 日志
/var/log/dovecot/dovecot.log
Aug 30 16:15:21 mx dovecot: master: Warning: Killed with signal 15 (by pid=8573 uid=0 code=kill)
Aug 30 16:15:21 mx dovecot: master: Dovecot v2.2.28 (bed8434) starting up for pop3, imap, sieve, lmtp (core dumps disabled)


登录日志
/var/log/dovecot/dovecot.log
Aug 30 16:16:09 mx dovecot: master: Error: service(imap-login): command startup failed, throttling for 2 secs


Aug 30 16:16:09 mx dovecot: imap-login: Error: SSL private key file is password protected, but password isn't given
Aug 30 16:16:09 mx dovecot: imap-login: Fatal: Couldn't parse private ssl_key: error:0907B068:PEM routines:PEM_READ_BIO_PRIVATEKEY:bad password read

看上去是没有设置密码,请问 修改 SSL 之后有哪些地方需要加密码?

4

Re: iredmail 连接至IMAP服务器失败

算了,我将私钥密码去掉就好了。