Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1307

RemoteDelivery does not send a permanent error on 5xx during HELO/EHLO

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0-beta3
    • 3.0.0
    • Remote Delivery
    • None

    Description

      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 xxx@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

      Attachments

        Activity

          People

            norman Norman Maurer
            norman Norman Maurer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: