geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Tańczyk (JIRA) <j...@apache.org>
Subject [jira] [Updated] (GERONIMO-6515) Unable to set localhost for EHLO in Geronimo JavaMail
Date Sat, 11 Jan 2014 09:14:50 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-6515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

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

    Description: 
I encountered 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 that it's a bug in Geronimo Javamail in MailConnection.java.
getLocalHost function ignores all properties and takes `InetAddress.getLocalHost().getHostName()`
each time, which is wrong.

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

  was:
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.


> Unable to set 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
>         Attachments: GERONIMO-6515.patch
>
>
> I encountered 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 that it's a bug in Geronimo Javamail in MailConnection.java.
getLocalHost function ignores all properties and 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)

Mime
View raw message