You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Hendrik Saly (JIRA)" <ji...@apache.org> on 2014/10/31 18:00:37 UTC
[jira] [Commented] (GERONIMO-6515) Unable to set localhost for EHLO
in Geronimo JavaMail
[ https://issues.apache.org/jira/browse/GERONIMO-6515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14192068#comment-14192068 ]
Hendrik Saly commented on GERONIMO-6515:
----------------------------------------
Applied, thanks
Revision 1635813
> 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
> Assignee: Hendrik Saly
> 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. As a result mail delivery may not work in case of some smtp servers, you will get:
> {code}5.5.2 <hostname>: Helo command rejected: need fully-qualified hostname{code}
> I have prepared patch for this. This problem affects all versions.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)