Testsuite: org.apache.james.transport.mailets.RemoteDeliveryTest Tests run: 3, Failures: 1, Errors: 0, Time elapsed: 3.354 sec ------------- Standard Output --------------- Init WrappedSpoolRepository OK Method accept(Filter) called Init WrappedSMTPTransport OK Stored procmail: to@test.it_mail_1284132032 Remotely delivering mail mail Sending mail to [to@test.it] on host test.it Locked mail-to-test.it for main @ Thu Aug 21 18:03:54 BST 2008 Unlocked mail-to-test.it for main @ Thu Aug 21 18:03:54 BST 2008 Found item mail-to-test.it in spool. Mail mail-to-test.it stored. Locked mail-to-test.it for Remote delivery thread (0) @ Thu Aug 21 18:03:54 BST 2008 accept(Filter) has locked: mail-to-test.it Retrieving mail: mail-to-test.it Remote delivery thread (0) will process mail mail-to-test.it Attempting to deliver mail-to-test.it Attempting delivery of mail-to-test.it to host test.it at mail.test.it for addresses [to@test.it] Connection to smtp://mail.test.it:25 Asking if smtp://mail.test.it:25 supports 8BITMIME Preparing send to@test.it_mail_1284132032 to smtp://mail.test.it:25 Sending to smtp://mail.test.it:25, applying 0 mail rules Closing connection to smtp://mail.test.it:25 Mail (mail-to-test.it) sent successfully to test.it at mail.test.it for [to@test.it] Locked mail-to-test.it for Remote delivery thread (0) @ Thu Aug 21 18:03:54 BST 2008 Unlocked mail-to-test.it for Remote delivery thread (0) @ Thu Aug 21 18:03:54 BST 2008 Method accept(Filter) called Method accept(Filter) called Init WrappedSpoolRepository OK Init WrappedSMTPTransport OK Stored procmail: to@test.it_mail_1284132032 Stored procmail: other@test.it_mail_1284132032 Remotely delivering mail mail Sending mail to [to@test.it, other@test.it] on host test.it Locked mail-to-test.it for main @ Thu Aug 21 18:03:55 BST 2008 Unlocked mail-to-test.it for main @ Thu Aug 21 18:03:55 BST 2008 Found item mail-to-test.it in spool. Locked mail-to-test.it for Remote delivery thread (0) @ Thu Aug 21 18:03:55 BST 2008 accept(Filter) has locked: mail-to-test.it Retrieving mail: mail-to-test.it Remote delivery thread (0) will process mail mail-to-test.it Attempting to deliver mail-to-test.it Attempting delivery of mail-to-test.it to host test.it at mail.test.it for addresses [to@test.it, other@test.it] Connection to smtp://mail.test.it:25 Connect Closing connection to smtp://mail.test.it:25 Temporary exception delivering mail (mail-to-test.it: javax.mail.MessagingException: No mail server(s) available at this time. at org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:903) at org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:1257) at java.lang.Thread.run(Thread.java:595) Storing message mail-to-test.it into outgoing after 0 retries Mail mail-to-test.it stored. Unlocked mail-to-test.it for Remote delivery thread (0) @ Thu Aug 21 18:03:55 BST 2008 Method accept(Filter) called Found item mail-to-test.it in spool. Locked mail-to-test.it for Remote delivery thread (0) @ Thu Aug 21 18:03:55 BST 2008 accept(Filter) has locked: mail-to-test.it Retrieving mail: mail-to-test.it Unlocked mail-to-test.it for Remote delivery thread (0) @ Thu Aug 21 18:03:55 BST 2008 Mail mail-to-test.it stored. Found item mail-to-test.it in spool. Locked mail-to-test.it for Remote delivery thread (0) @ Thu Aug 21 18:03:56 BST 2008 accept(Filter) has locked: mail-to-test.it Retrieving mail: mail-to-test.it Remote delivery thread (0) will process mail mail-to-test.it Attempting to deliver mail-to-test.it Attempting delivery of mail-to-test.it to host test.it at mail.test.it for addresses [to@test.it, other@test.it] Connection to smtp://mail.test.it:25 Asking if smtp://mail.test.it:25 supports 8BITMIME Preparing send to@test.it_mail_1284132032 to smtp://mail.test.it:25 Preparing send other@test.it_mail_1284132032 to smtp://mail.test.it:25 Sending to smtp://mail.test.it:25, applying 1 mail rules Got Exception Send > me Closing connection to smtp://mail.test.it:25 Exception delivering message (mail-to-test.it) - Send Temporary exception delivering mail (mail-to-test.it: javax.mail.MessagingException: Send at org.apache.james.transport.remotedeliverytester.AbstractRemoteDeliveryTest$2.onSendMessage(AbstractRemoteDeliveryTest.java:279) at org.apache.james.transport.remotedeliverytester.Tester.onTransportSendMessage(Tester.java:324) at org.apache.james.transport.remotedeliverytester.SMTPTransport.sendMessage(SMTPTransport.java:59) at org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:690) at org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:1257) at java.lang.Thread.run(Thread.java:595) Storing message mail-to-test.it into outgoing after 1 retries Mail mail-to-test.it stored. Unlocked mail-to-test.it for Remote delivery thread (0) @ Thu Aug 21 18:03:56 BST 2008 Method accept(Filter) called Found item mail-to-test.it in spool. Locked mail-to-test.it for Remote delivery thread (0) @ Thu Aug 21 18:03:56 BST 2008 accept(Filter) has locked: mail-to-test.it Retrieving mail: mail-to-test.it Unlocked mail-to-test.it for Remote delivery thread (0) @ Thu Aug 21 18:03:56 BST 2008 Found item mail-to-test.it in spool. Locked mail-to-test.it for Remote delivery thread (0) @ Thu Aug 21 18:03:57 BST 2008 accept(Filter) has locked: mail-to-test.it Retrieving mail: mail-to-test.it Remote delivery thread (0) will process mail mail-to-test.it Attempting to deliver mail-to-test.it Attempting delivery of mail-to-test.it to host test.it at mail.test.it for addresses [to@test.it, other@test.it] Connection to smtp://mail.test.it:25 Asking if smtp://mail.test.it:25 supports 8BITMIME Preparing send to@test.it_mail_1284132032 to smtp://mail.test.it:25 Preparing send other@test.it_mail_1284132032 to smtp://mail.test.it:25 Sending to smtp://mail.test.it:25, applying 1 mail rules Closing connection to smtp://mail.test.it:25 Mail (mail-to-test.it) sent successfully to test.it at mail.test.it for [to@test.it, other@test.it] Locked mail-to-test.it for Remote delivery thread (0) @ Thu Aug 21 18:03:57 BST 2008 Unlocked mail-to-test.it for Remote delivery thread (0) @ Thu Aug 21 18:03:57 BST 2008 Method accept(Filter) called Method accept(Filter) called Init WrappedSpoolRepository OK Init WrappedSMTPTransport OK Stored procmail: to@test.it_mail_1284132032 Stored procmail: other@test.it_mail_1284132032 Remotely delivering mail mail Sending mail to [to@test.it, other@test.it] on host test.it Locked mail-to-test.it for main @ Thu Aug 21 18:03:58 BST 2008 Unlocked mail-to-test.it for main @ Thu Aug 21 18:03:58 BST 2008 Found item mail-to-test.it in spool. Locked mail-to-test.it for Remote delivery thread (0) @ Thu Aug 21 18:03:58 BST 2008 accept(Filter) has locked: mail-to-test.it Retrieving mail: mail-to-test.it Remote delivery thread (0) will process mail mail-to-test.it Attempting to deliver mail-to-test.it Attempting delivery of mail-to-test.it to host test.it at null for addresses [to@test.it, other@test.it] Connection to smtp: Asking if smtp: supports 8BITMIME Preparing send to@test.it_mail_1284132032 to smtp: Preparing send other@test.it_mail_1284132032 to smtp: Sending to smtp:, applying 0 mail rules Closing connection to smtp: Mail (mail-to-test.it) sent successfully to test.it at null for [to@test.it, other@test.it] Locked mail-to-test.it for Remote delivery thread (0) @ Thu Aug 21 18:03:58 BST 2008 Unlocked mail-to-test.it for Remote delivery thread (0) @ Thu Aug 21 18:03:58 BST 2008 Method accept(Filter) called Mail mail-to-test.it stored. ------------- ---------------- --------------- ------------- Standard Error ----------------- outgoing outgoing outgoing ------------- ---------------- --------------- Testcase: test1 took 1.3 sec Testcase: test2_0 took 2.016 sec Testcase: test2 took 0.03 sec FAILED expected:<4> but was:<2> junit.framework.AssertionFailedError: expected:<4> but was:<2> at org.apache.james.transport.remotedeliverytester.AbstractRemoteDeliveryTest.assertWhole(AbstractRemoteDeliveryTest.java:181) at org.apache.james.transport.remotedeliverytester.AbstractRemoteDeliveryTest.doTest2(AbstractRemoteDeliveryTest.java:314) at org.apache.james.transport.remotedeliverytester.AbstractRemoteDeliveryTest.test2(AbstractRemoteDeliveryTest.java:63)