Apache james在哪里存储(失败)的传出消息

从詹姆斯控制台:

jvm 1 | INFO 11:01:03,519 | james.mailetcontext | Attempting delivery of Mail1345571942295-bf02a4ca-791c-4776-a194-809aba6e4c1a-to-localhost to host bounceme.net. at 166.90.15.238 from fubar@wtf for addresses [thufir@localhost] jvm 1 | INFO 11:02:03,579 | james.mailetcontext | Could not connect to SMTP host: 166.90.15.238, port: 25 jvm 1 | INFO 11:02:03,580 | james.mailetcontext | Temporary exception delivering mail (Mail1345571942295-bf02a4ca-791c-4776-a194-809aba6e4c1a-to-localhost: jvm 1 | INFO 11:02:03,580 | james.mailetcontext | Storing message Mail1345571942295-bf02a4ca-791c-4776-a194-809aba6e4c1a-to-localhost into outgoing after 0 retries 

我不希望消息得到交付。 但是,消息存储在哪里?

 thufir@dur:~/apache-james-3.0-beta4$ thufir@dur:~/apache-james-3.0-beta4$ cat conf/james-database.properties # MySQL JDBC database properties database.driverClassName=com.mysql.jdbc.Driver database.url=jdbc:mysql://localhost/james database.username=james database.password=password vendorAdapter.database=MYSQL openjpa.streaming=false thufir@dur:~/apache-james-3.0-beta4$ thufir@dur:~/apache-james-3.0-beta4$ mysql -u james -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 121 Server version: 5.5.22-0ubuntu1 (Ubuntu) Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> use james; Database changed mysql> show tables; Empty set (0.00 sec) mysql> quit Bye thufir@dur:~/apache-james-3.0-beta4$ 

我在/var/mail中看不到任何内容:

 thufir@dur:~/apache-james-3.0-beta4$ thufir@dur:~/apache-james-3.0-beta4$ thufir@dur:~/apache-james-3.0-beta4$ ll /var/mail total 12 drwxrwsr-x 2 root mail 4096 Aug 16 12:50 ./ drwxr-xr-x 15 root root 4096 Aug 21 03:40 ../ -rw------- 1 news mail 3680 Aug 14 09:23 news -rw------- 1 root mail 0 Aug 16 12:50 root -rw------- 1 thufir mail 0 Aug 16 01:59 thufir thufir@dur:~/apache-james-3.0-beta4$ thufir@dur:~/apache-james-3.0-beta4$ ll /var/mail/thufir -rw------- 1 thufir mail 0 Aug 16 01:59 /var/mail/thufir thufir@dur:~/apache-james-3.0-beta4$ thufir@dur:~/apache-james-3.0-beta4$ nl /var/mail/thufir thufir@dur:~/apache-james-3.0-beta4$ thufir@dur:~/apache-james-3.0-beta4$ cat /var/mail/thufir thufir@dur:~/apache-james-3.0-beta4$ 

但我不知道该找什么。 这似乎指向詹姆斯文件夹和詹姆斯日志,到目前为止,这并没有多less亮点。

这些信息在日志中是重复的:

 thufir@dur:~/apache-james-3.0-beta4$ thufir@dur:~/apache-james-3.0-beta4$ tail log/james-server.log INFO 11:20:39,415 | james.mailetcontext | Temporary exception delivering mail (Mail1345571942295-bf02a4ca-791c-4776-a194-809aba6e4c1a-to-localhost: INFO 11:20:39,416 | james.mailetcontext | Storing message Mail1345571942295-bf02a4ca-791c-4776-a194-809aba6e4c1a-to-localhost into outgoing after 2 retries INFO 12:05:42,471 | james.mailetcontext | Attempting delivery of Mail1345571942295-bf02a4ca-791c-4776-a194-809aba6e4c1a-to-localhost to host bounceme.net. at 166.90.15.238 from fubar@wtf for addresses [thufir@localhost] INFO 12:06:42,530 | james.mailetcontext | Could not connect to SMTP host: 166.90.15.238, port: 25 INFO 12:06:42,530 | james.mailetcontext | Attempting delivery of Mail1345571942295-bf02a4ca-791c-4776-a194-809aba6e4c1a-to-localhost to host bounceme.net. at 166.90.15.238 from fubar@wtf for addresses [thufir@localhost] INFO 12:07:42,570 | james.mailetcontext | Could not connect to SMTP host: 166.90.15.238, port: 25 INFO 12:07:42,571 | james.mailetcontext | Attempting delivery of Mail1345571942295-bf02a4ca-791c-4776-a194-809aba6e4c1a-to-localhost to host bounceme.net. at 166.90.15.238 from fubar@wtf for addresses [thufir@localhost] INFO 12:07:49,632 | james.mailetcontext | Could not connect to SMTP host: 166.90.15.238, port: 25 INFO 12:07:49,632 | james.mailetcontext | Temporary exception delivering mail (Mail1345571942295-bf02a4ca-791c-4776-a194-809aba6e4c1a-to-localhost: INFO 12:07:49,632 | james.mailetcontext | Storing message Mail1345571942295-bf02a4ca-791c-4776-a194-809aba6e4c1a-to-localhost into outgoing after 3 retries thufir@dur:~/apache-james-3.0-beta4$ 

但是,我没有看到日志中显示的任何信息,这些信息Mail1345571942295-bf02a4ca-791c-4776-a194-809aba6e4c1a-to-localhost邮件存储在“传出”中的邮件的位置Mail1345571942295-bf02a4ca-791c-4776-a194-809aba6e4c1a-to-localhost存储在“传出”中。 那个日志消息是什么意思?

通常是$JAMES_DIR/var/mail/error