Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 89066 invoked from network); 2 Jun 2008 16:42:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jun 2008 16:42:27 -0000 Received: (qmail 36899 invoked by uid 500); 2 Jun 2008 16:42:27 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 36890 invoked by uid 500); 2 Jun 2008 16:42:27 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 36879 invoked by uid 99); 2 Jun 2008 16:42:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jun 2008 09:42:27 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [98.136.44.55] (HELO smtp110.prem.mail.sp1.yahoo.com) (98.136.44.55) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 02 Jun 2008 16:41:30 +0000 Received: (qmail 60719 invoked from network); 2 Jun 2008 16:41:52 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer; b=v0J9TJy8PvKBl5R/B9tn7oByL3/OhXjOde2iJoc1aqczNFTbKKEy3Yd26QxpCzUBH+7zt8qjeS67M+W84dtETOGR7+V0MXju11H3FIlqEatoPQf2oy1bQDXTYIxHXw5E43+omSJ/RSzLZm5qxyM6i8h/FDhgMgvw7hweH0sLRQs= ; Received: from unknown (HELO ?10.11.55.42?) (david_jencks@63.105.20.225 with plain) by smtp110.prem.mail.sp1.yahoo.com with SMTP; 2 Jun 2008 16:41:51 -0000 X-YMail-OSG: DA05MzQVM1n9zFiq5L99vVb3LrmxsCenrytHNHlN_38oAVZ_CVrfQSSluCJSDutcX_ZGDtfd9J3denmwXCdItv9tO5GELdOyfYpLunnEpXH5ofKY4ULDRrIXQMg- X-Yahoo-Newman-Property: ymail-3 Message-Id: From: David Jencks To: user@geronimo.apache.org In-Reply-To: <17605243.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: How to configure remote SMTP host? Date: Mon, 2 Jun 2008 09:41:49 -0700 References: <17591748.post@talk.nabble.com> <4843D78E.10303@gmail.com> <87454EAC-AFBC-4DF2-A070-2ADCC361FF79@gmail.com> <17605243.post@talk.nabble.com> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org I think that we should make this change in geronimo, right? SMTPPort is instructions on how to connect to a remote mail server, not a server socket geronimo is opening? So PortOffset is not appropriate. thanks david jencks On Jun 2, 2008, at 9:20 AM, sbyonge wrote: > > It works well after obtaining the mail session via the JNDI "mail/ > Session" > resource. I updated var/config/config-substitutions.properties > instead of > config.xml for SMTPHost. The only I had to change config.xml is to > remove > PortOffset since I have multiple Geronimo instances accessing the same > remote SMTP host. > > > > ${SMTPHost} > > ${SMTPPort} > > > > > Kevan Miller wrote: >> >> >> On Jun 2, 2008, at 9:45 AM, Kenneth P. Turvey wrote: >> >>> On Mon, 02 Jun 2008 07:20:46 -0400, Rick McGuire wrote: >>> >>>> sbyonge wrote: >>>>> I am having trouble with mail session in Geronimo. I updated >>>>> var/config/config.xml to point to remote STMP host >>>>> >>>>> >>>>> >>>>> smtpgw.mycom.com >>>>> 25 >>>>> >>>>> >>>>> >>>>> However, mail session still seems to point to localhost instead of >>>>> the >>>>> remote host. >>>>> >>>> How are you obtaining the mail session? SMTPTransport definition >>>> only >>>> manages the mail session obtained via the JNDI "mail/Session" >>>> resource >>>> lookup. If you're directly creating the mail session, you'll >>>> need to >>>> configure the properties yourself. >>>> >>>> Rick >>> >>> Looking at the configuration file it has ${SMTP_HOST} defined in >>> it. If >>> I'm configuring this service through the console, where do I change >>> this >>> setting? >> >> var/config/config-substitutions.properties >> >> --kevan >> >> >> > > -- > View this message in context: http://www.nabble.com/How-to-configure-remote-SMTP-host--tp17591748s134p17605243.html > Sent from the Apache Geronimo - Users mailing list archive at > Nabble.com. >