geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hendrik Saly (JIRA)" <>
Subject [jira] [Closed] (GERONIMO-6490) Unable to configure EHLO/HELO host name via property “mail.smtp.localhost”
Date Fri, 31 Oct 2014 17:09:34 GMT


Hendrik Saly closed GERONIMO-6490.
    Resolution: Duplicate
      Assignee: Hendrik Saly

> Unable to configure EHLO/HELO host name via property “mail.smtp.localhost”
> --------------------------------------------------------------------------
>                 Key: GERONIMO-6490
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: mail
>    Affects Versions: 3.0.1
>         Environment: any
>            Reporter: Alexander Grupe
>            Assignee: Hendrik Saly
> Geronimo Mail seems to use the same JavaMail properties as the original Sun implementation
> Unlike the original implementation, however, the “mail.smtp.localhost” property cannot
be used to specify which host name should be used when issuing a EHLO or HELO command to the
SMTP server.
> Instead, the return value of {{InetAddress.getLocalHost().getHostName()}} is always used,
regardless of the value of “mail.smtp.localhost”. (To be exact, the property is only ever
used if {{getHostName()}} returns null, which is very unlikely to happen.)
> The local host name returned by {{InetAddress.getLocalHost().getHostName()}} should rather
be used as a *fallback* value, not as an *override* value. Otherwise, you can only influence
what is sent in the EHLO/HELO command by changing the JVM environment (e.g. by editing {{/etc/hosts}}).
> [1]

This message was sent by Atlassian JIRA

View raw message