这里的killdovecot.sh脚本是官网的脚本:
[root@pps etc]# cat /usr/local/dovecot/sbin/killdovecot.sh
#!/bin/sh
# master.pid is written to directory pointed by base_dir setting.
# /var/run/dovecot/ is a common location for it.
base_dir=`dovecot -a | grep ^base_dir: | sed 's/^[^:]*: //'`
kill `cat $base_dir/master.pid`
============================================================
非SLL/TLS的POP3/IMAP测试都OK。
~SSL/TLS测试~
IMAPS:发现Outlook Express能正常同步,而Foxmail(6.5 Beta3)出错。
如果没有启用SSL/TLS,Foxmail使用IMAP同步正常。
经过多次测试并参考互联网资料,我个人暂时认为是Foxmail Bug引起的。
POP3S:Foxmail、Outlook都正常。
Foxmail使用IMAPS同步邮件出错:
Apr 8 20:57:48 pps dovecot: imap-login: Disconnected (no auth attempts): rip=192.168.32.1, lip=192.168.32.50, TLS handshaking: SSL_accept() failed: error:1406B0CB:SSL routines:GET_CLIENT_MASTER_KEY:peer error no cipher
Outlook使用IMAP4同步邮件正常:
Apr 8 21:00:34 pps dovecot: imap-login: Login: user=<snail>, method=PLAIN, rip=192.168.32.1, lip=192.168.32.50, TLS
Apr 8 21:00:34 pps dovecot: IMAP(snail): Disconnected in IDLE bytes=258/443