problem sending email -- 501 5.0.0 HELO requires domain address

XMLWordPrintable

    • Type: Bug
    • Resolution: Support Request
    • Priority: Medium
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      having issues with outgoing emails on our crucible server..

      Starting mail system...
      mail.smtp.host = localhost
      mail.smtp.starttls.enable = false
      mail.smtp.port = 25
      mail.from = do-not-reply@crucible.modernizingmedicine.com
      Mail system started.
      Using from address: 'andrew.wilson@modernizingmedicine.com'
      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 "localhost", port 25, isSSL false
      220 testlink_crucible_svn ESMTP Sendmail 8.14.4/8.14.4; Wed, 6 Nov 2013 15:14:51 GMT
      DEBUG SMTP: connected to host "localhost", port: 25
      EHLO
      501 5.0.0 EHLO requires domain address
      HELO
      501 5.0.0 HELO requires domain address
      problem sending email
      501 5.0.0 HELO requires domain address
      
      at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1363)
      at com.sun.mail.smtp.SMTPTransport.helo(SMTPTransport.java:838)
      at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:375)
      at javax.mail.Service.connect(Service.java:275)
      at javax.mail.Service.connect(Service.java:156)
      

      i found this article
      https://confluence.atlassian.com/display/JIRAKB/Problems+Sending+Email+from+JIRA+-+EHLO+requires+domain+address
      and added -Dmail.smtp.localhost=crucible.modernizingmedicine.com to the java parameters but it did not help:

      root     29727     1 99 15:13 pts/0    00:01:20 /usr/lib/jvm/jre/bin/java -Xmx1024m -XX:MaxNewSize=128m -XX:MaxPermSize=256m -Dfisheye.library.path= -Dfisheye.inst=/usr/crucible/instance_dir -Djava.awt.headless=true -Djava.endorsed.dirs=/u/crucible/default/lib/endorsed -Dmail.smtp.localhost=crucible.modernizingmedicine.com -jar /u/crucible/default/fisheyeboot.jar start
      

      please let us know how to fix this problem. we need to pass domain name with EHLO command, otherwise our mail server does not accept it (we're using sendmail service on localhost)

            Assignee:
            Unassigned
            Reporter:
            ModMed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: