私が知る限り、Apache 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-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 を追加する必要がありますか? Thunderbird がログインできないのはなぜですか? (はい、正しいパスワードを使用しています。)
Java でトラブルシューティングした方がよい場合は、それを行うこともできますが、サンダーバードから始めるのが賢明であると思われました。
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#