thunderbird无法登录到apache james
据我所知,它运行正常:thunderbird无法登录到apache james,apache,email,login,mail-server,james,Apache,Email,Login,Mail Server,James,据我所知,它运行正常: root@dur:~/apache-james-3.0-beta4.derby# root@dur:~/apache-james-3.0-beta4.derby# bin/james-cli.sh -h localhost listdomainslocalhost 127.0.1.1 127.0.0.1 127.0.1.1 listdomains command executed sucessfully in 262 ms. root@dur:~/apache-ja
root@dur:~/apache-james-3.0-beta4.derby#
root@dur:~/apache-james-3.0-beta4.derby# bin/james-cli.sh -h localhost listdomainslocalhost
127.0.1.1
127.0.0.1
127.0.1.1
listdomains command executed sucessfully in 262 ms.
root@dur:~/apache-james-3.0-beta4.derby#
root@dur:~/apache-james-3.0-beta4.derby# bin/james-cli.sh -h localhost listusersa@localhost
b@localhost
thufir@localhost
listusers command executed sucessfully in 277 ms.
root@dur:~/apache-james-3.0-beta4.derby#
root@dur:~/apache-james-3.0-beta4.derby# telnet localhost 143 -l thufir@localhost
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK JAMES IMAP4rev1 Server Server dur.bounceme.net is ready.
login
* BYE Unknown command.
Connection closed by foreign host.
root@dur:~/apache-james-3.0-beta4.derby#
因此,我尝试使用tomcat登录:
当然,这是失败的。以下是帐户的设置方式:
服务器名称是否应以imap和smtp作为前缀?为什么雷鸟不登录?(是的,我使用的是正确的密码。)
如果用Java进行故障排除会更好,我可以这样做,但从thunderbird开始似乎比较谨慎
James将登录尝试显示为:
root@dur:~/apache-james-3.0-beta4.derby#
root@dur:~/apache-james-3.0-beta4.derby# tail log/james-server.log
INFO 03:38:56,180 | james.imapserver | ID=10307467 Connection closed for 127.0.0.1
INFO 03:39:42,277 | james.imapserver | ID=18745390 Connection established from 127.0.0.1
INFO 03:40:16,779 | james.imapserver | ID=18745390 Too many authentication failures. Closing connection.
INFO 03:40:16,801 | james.imapserver | ID=18745390 Connection closed for 127.0.0.1
INFO 03:40:16,854 | james.imapserver | ID=18407750 Connection established from 127.0.0.1
INFO 03:40:20,028 | james.imapserver | ID=18407750 Connection closed for 127.0.0.1
INFO 03:42:04,682 | james.imapserver | ID=295845 Connection established from 127.0.0.1
INFO 03:42:14,286 | james.imapserver | ID=295845 Connection closed for 127.0.0.1
INFO 03:48:17,081 | james.imapserver | ID=9571677 Connection established from 127.0.0.1
INFO 03:48:17,143 | james.imapserver | ID=9571677 Connection closed for 127.0.0.1
root@dur:~/apache-james-3.0-beta4.derby#
您的服务器名称应保持原样,不带任何前缀。最好把服务器的真实名称放在那里。在你的例子中是“dur.bounceme.net” 或者,您可以使用“主机”文件并为服务器分配别名(即,您可以向服务器的别名添加smtp和imap,或者如果愿意,只向服务器的别名添加邮件前缀)。对于linux机器,您可以在/etc/hosts中找到它,并添加例如:
127.0.0.1 imap.localhost
127.0.0.1 smtp.localhost
或:
<server's IP> <server alias>