因为我们的客户之一更新了他们的服务器信使不再正确地处理IMAP连接。POP3工作时没有任何问题。
当我尝试用telnet测试IMAP时,总是这样:
$ telnet domain.com 143
Trying 188.40.46.214...
Connected to domain.com.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2011 Double Precision, Inc. See COPYING for distribution information.
01 LOGIN test@domain.com test
Connection closed by foreign host.我在authdaemond中启用了调试,但是输出并没有多大帮助:
Apr 12 23:10:04 servername authdaemond: received auth request, service=imap, authtype=login
Apr 12 23:10:04 servername authdaemond: authmysql: trying this module
Apr 12 23:10:04 servername authdaemond: SQL query: SELECT login, password, "", uid, gid, homedir, maildir, quota, "", concat('disableimap=',disableimap,',disablepop3=',disablepop3) FROM mail_user WHERE login = 'test@domain.com'
Apr 12 23:10:04 servername authdaemond: password matches successfully
Apr 12 23:10:04 servername authdaemond: authmysql: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/var/vmail, address=test@domain.com, fullname=<null>, maildir=/var/vmail/domain.com/test, quota=0, options=disableimap=n,disablepop3=n
Apr 12 23:10:04 servername authdaemond: Authenticated: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/var/vmail, address=test@domain.com, fullname=<null>, maildir=/var/vmail/domain.com/test, quota=0, options=disableimap=n,disablepop3=n在“验证”行之后,输出就停止了。没有其他信息了。在我检查过的其他日志文件中,我可以找到任何其他相关消息。
该系统从Ubuntu 10.10更新到12.04。
我怎么能得到更多的信息?还是有人知道这里会出什么问题?
发布于 2012-04-12 21:43:39
看来连接处理程序进程由于某种原因而崩溃了。我建议用户将其降级到以前使用的版本,或者升级其所有依赖项。重新安装可能也有帮助。
发布于 2012-04-29 15:08:18
我找到了解决这个问题的办法。
http://ubuntuforums.org/showthread.php?s=fba71f803c489876a75fb08df822a930&p=11856138
https://serverfault.com/questions/379000
复制相似问题