continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Venisse <emmanuel.veni...@gmail.com>
Subject Re: wrong configuration for e-mail notifications
Date Mon, 23 Mar 2009 17:07:38 GMT
Yes, it's a bug actually. The from address must be configured in
application.xml and Continuum/Redback don't use the one defined in the smtp
config.
Can you file an issue?

Emmanuel

On Mon, Mar 23, 2009 at 12:16 AM, Marica Tan <marica.tan@gmail.com> wrote:

> Hi Phil,
>
> Try configuring your mail properties from the application.xml:
>
> $CONTINUUM_HOME/apps/continuum/WEB-INF/classes/META-INF/plexus/application.xml
>
> Cheers
> --
> Marica
>
> On Thu, Mar 19, 2009 at 10:41 PM, Phil Melanson <jplmelanson@gmail.com
> >wrote:
>
> >
> > <New id="validation_mail" class="org.mortbay.jetty.plus.naming.Resource">
> >    <Arg>mail/Session</Arg>
> >          <Arg>
> >        <New class="org.mortbay.naming.factories.MailSessionReference">
> >          <Set name="user"></Set>
> >          <Set name="password"></Set>
> >          <Set name="properties">
> >            <New class="java.util.Properties">
> >              <Put name="mail.debug">true</Put>
> >                          <Put name="mail.from">no-reply@foo.ca</Put>
> >                          <Put name="mail.user">no-reply@foo.ca</Put>
> >                          <Put name="mail.smtp.host">smtp.foo.ca</Put>
> >            </New>
> >          </Set>
> >        </New>
> >      </Arg>
> >    </New>
> >
> >
> >
> > Emmanuel Venisse-2 wrote:
> > >
> > > Can we see how you configured it?
> > > Emmanuel
> > >
> > > On Tue, Mar 17, 2009 at 2:49 PM, Phil Melanson
> > > <jplmelanson@gmail.com>wrote:
> > >
> > >>
> > >> I set my java mail properties so that the SMTP FROM address is set to
> > >> continuum@foo.ca.
> > >> However, the projects I import defines their ciManagement email such
> as
> > >> developers@foo.ca, which is a mailing list. When I do builds, emails
> > are
> > >> sent using the mailing list in the from of the email, causing everyone
> > to
> > >> receive a confirmation (that is how our echange servers are set up).
> > >>
> > >> Here is the SMTP debug log:
> > >>
> > >> INFO   | jvm 1    | 2009/03/11 14:10:45 | DEBUG SMTP: use8bit false
> > >> INFO   | jvm 1    | 2009/03/11 14:10:45 | MAIL FROM:<continuum@foo.ca
> >
> > >> INFO   | jvm 1    | 2009/03/11 14:10:45 | 250 2.1.0
> > >> continuum@foo.ca....Sender OK
> > >> INFO   | jvm 1    | 2009/03/11 14:10:45 | RCPT TO:<developers@foo.ca>
> > >> INFO   | jvm 1    | 2009/03/11 14:10:45 | 250 2.1.5 developers@foo.ca
> > >> INFO   | jvm 1    | 2009/03/11 14:10:45 | DEBUG SMTP: Verified
> Addresses
> > >> INFO   | jvm 1    | 2009/03/11 14:10:45 | DEBUG SMTP:
> > developers@foo.ca
> > >> INFO   | jvm 1    | 2009/03/11 14:10:45 | DATA
> > >> INFO   | jvm 1    | 2009/03/11 14:10:45 | 354 Enter mail, end with "."
> > on
> > >> a
> > >> line by itself.
> > >> INFO   | jvm 1    | 2009/03/11 14:10:45 | Date: Wed, 11 Mar 2009
> > 14:10:45
> > >> -0400 (EDT)
> > >> INFO   | jvm 1    | 2009/03/11 14:10:45 | From:
> "Continuum@ena-continuum
> > "
> > >> <developers@foo.ca>
> > >> INFO   | jvm 1    | 2009/03/11 14:10:45 | To: developers@foo.ca
> > >> INFO   | jvm 1    | 2009/03/11 14:10:45 | Message-ID:
> > >> <26217476.01236795045484.JavaMail.continuum@foo.ca>
> > >> INFO   | jvm 1    | 2009/03/11 14:10:45 | Subject: [continuum] BUILD
> > >> FAILURE: - Compilation et
> > >> INFO   | jvm 1    | 2009/03/11 14:10:45 |  execution de tous les tests
> > >>
> > >> How can I configure the FROM: of the emails or, why it uses the TO: as
> > >> default FROM and not the smtp config?
> > >>
> > >> Thanks.
> > >> --
> > >> View this message in context:
> > >>
> >
> http://www.nabble.com/wrong-configuration-for-e-mail-notifications-tp22559034p22559034.html
> > >> Sent from the Continuum - Users mailing list archive at Nabble.com.
> > >>
> > >>
> > >
> > >
> >
> > --
> > View this message in context:
> >
> http://www.nabble.com/wrong-configuration-for-e-mail-notifications-tp22559034p22601010.html
> > Sent from the Continuum - Users mailing list archive at Nabble.com.
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message