geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hendrik Saly (JIRA)" <>
Subject [jira] [Updated] (GERONIMO-6515) Unable to set localhost for EHLO in Geronimo JavaMail
Date Fri, 31 Oct 2014 17:02:33 GMT


Hendrik Saly updated GERONIMO-6515:
    Labels: JM14_1.8.5  (was: )

> Unable to set localhost for EHLO in Geronimo JavaMail
> -----------------------------------------------------
>                 Key: GERONIMO-6515
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: mail
>            Reporter: Grzegorz TaƄczyk
>            Assignee: Hendrik Saly
>              Labels: JM14_1.8.5
>         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
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

View raw message