Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DBC9D1016B for ; Sat, 11 Jan 2014 09:13:04 +0000 (UTC) Received: (qmail 45559 invoked by uid 500); 11 Jan 2014 09:12:55 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 45509 invoked by uid 500); 11 Jan 2014 09:12:52 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 45501 invoked by uid 99); 11 Jan 2014 09:12:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Jan 2014 09:12:50 +0000 Date: Sat, 11 Jan 2014 09:12:50 +0000 (UTC) From: =?utf-8?Q?Grzegorz_Ta=C5=84czyk_=28JIRA=29?= To: dev@geronimo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (GERONIMO-6515) Unable to set localhost for EHLO in Geronimo JavaMail MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GERONIMO-6515?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grzegorz Ta=C5=84czyk updated GERONIMO-6515: --------------------------------------- Summary: Unable to set localhost for EHLO in Geronimo JavaMail (was: U= nable to set up localhost for EHLO in Geronimo JavaMail) > 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)=20 > Reporter: Grzegorz Ta=C5=84czyk > Attachments: GERONIMO-6515.patch > > > I had this problem in Apache James, where it was not possible to set prop= er domain for EHLO/HELO comand in RemoteDelivery. > After some investigation I found bug in Geronimo Javamail in MailConnecti= on.java. getLocalHost function ignores all properties and it takes `InetAdd= ress.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)