RemoteDelivery does not send a permanent error on 5xx during HELO/EHLO ----------------------------------------------------------------------
Key: JAMES-1307 URL: https://issues.apache.org/jira/browse/JAMES-1307 Project: JAMES Server Issue Type: Bug Components: Remote Delivery Affects Versions: 3.0-beta3 Reporter: Norman Maurer Assignee: Norman Maurer Fix For: 3.0-beta4 Here is the stacktrace (costumized RemoteDelivery): INFO 06:33:46,594 | james.mailetcontext | Remotely delivering mail Mail1314354826187-a85689d4-03b3-47ca-8bb3-6e059ec8a464 INFO 06:33:46,612 | james.mailetcontext | Sending mail to [xxx@xxx] via null INFO 06:33:46,633 | james.mailetcontext | Remote delivery thread (5) will process mail Mail1314354826187-a85689d4-03b3-47ca-8bb3-6e059ec8a464 INFO 06:33:46,633 | james.mailetcontext | Attempting to deliver Mail1314354826187-a85689d4-03b3-47ca-8bb3-6e059ec8a464 INFO 06:33:46,644 | james.mailetcontext | Attempting delivery of Mail1314354826187-a85689d4-03b3-47ca-8bb3-6e059ec8a464 to host xxx at xxx from x...@xxx.com for addresses [xxx@xxx] DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc] DEBUG SMTP: useEhlo true, useAuth false DEBUG SMTP: trying to connect to host "xxx", port 25, isSSL false 220 xxx 54 DEBUG SMTP: connected to host "xxx", port: 25 EHLO localhost 501 Fraudulent EHLO/HELO HELO localhost DEBUG SMTP: EOF: [EOF] INFO 06:33:47,467 | james.mailetcontext | [EOF] INFO 06:33:47,468 | james.mailetcontext | Temporary exception delivering mail (Mail1314354826187-a85689d4-03b3-47ca-8bb3-6e059ec8a464: javax.mail.MessagingException: No mail server(s) available at this time. at xxx.SlpRemoteDelivery.deliver(SlpRemoteDelivery.java:1296) at xxx.SlpRemoteDelivery.run(SlpRemoteDelivery.java:808) at java.lang.Thread.run(Thread.java:662) INFO 06:33:47,468 | james.mailetcontext | Storing message Mail1314354826187-a85689d4-03b3-47ca-8bb3-6e059ec8a464 into outgoing after 0 retries INFO 06:33:47,481 | james.mailetcontext | Remote delivery thread (5) will try to dequeue a mail -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org