You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Grzegorz Tańczyk (JIRA)" <ji...@apache.org> on 2014/01/11 10:08:50 UTC

[jira] [Created] (GERONIMO-6515) Unable to set up localhost for EHLO in Geronimo JavaMail

Grzegorz Tańczyk created GERONIMO-6515:
------------------------------------------

             Summary: Unable to set up localhost for EHLO in Geronimo JavaMail
                 Key: GERONIMO-6515
                 URL: https://issues.apache.org/jira/browse/GERONIMO-6515
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
            Reporter: Grzegorz Tańczyk


I had this problem in Apache James, where it was not possible to set proper domain for EHLO/HELO comand in RemoteDelivery.

After some investigation I found bug in Geronimo Javamail in MailConnection.java. getLocalHost function ignores all properties and it takes `InetAddress.getLocalHost().getHostName()` each time, which is wrong.

I have prepared patch for this. This problem affects all versions.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)