Article ID: 114430, created on Aug 9, 2013, last review on Aug 12, 2014

  • Applies to:
  • Operations Automation 6.0
  • Plesk Automation 11.5
  • Plesk for Linux/Unix
  • Plesk 12.0 for Windows

问题

配置 Horde  使用 Parallels Plesk Panel (PP) 服务器上的 IMAP 协议。当尝试登录到 webmail 时出现以下错误:

Login failed because your username or password was entered incorrectly.

原因

通常在 Courier IMAP 配置文件中禁用纯文本验证。

诊断

在 PP 服务器上,尝试通过 IMAP 使用 Telnet   连接到本地主机:
# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
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-2004 Double Precision, Inc. See COPYING for distribution information.
01 login mailname@domain.tld <password>
01 NO PLAIN text authentication does not support

如果您通过 Telnet 可以连接,请参阅以下文章:

6781 Horde Webmail login fails: How to troubleshoot

如果不行,您会看到 "01 NO PLAIN text authentication does not support" 信息,那么执行以下解决方案。

解决方案

通过编辑 /etc/courier-imap/imapd 启用纯文本验证:
添加 AUTH=PLAIN 参数至 IMAP_CAPABILITY 变量值。

例如:
IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT AUTH=PLAIN THREAD=REFERENCES SORT QUOTA IDLE"

不要忘了重启 courier-imap 服务:
# /etc/init.d/courier-imap restart

56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 ed7be2b984f9c27de1d2dc349dc19c6d 85a92ca67f2200d36506862eaa6ed6b8 a766cea0c28e23e978fa78ef81918ab8 33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079 5356b422f65bdad1c3e9edca5d74a1ae 614fd0b754f34d5efe9627f2057b8642 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0

Email subscription for changes to this article