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 <[email protected]> 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 <[email protected] > >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">[email protected]</Put> > > <Put name="mail.user">[email protected]</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 > > > <[email protected]>wrote: > > > > > >> > > >> I set my java mail properties so that the SMTP FROM address is set to > > >> [email protected]. > > >> However, the projects I import defines their ciManagement email such > as > > >> [email protected], 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:<[email protected] > > > > >> INFO | jvm 1 | 2009/03/11 14:10:45 | 250 2.1.0 > > >> [email protected] OK > > >> INFO | jvm 1 | 2009/03/11 14:10:45 | RCPT TO:<[email protected]> > > >> INFO | jvm 1 | 2009/03/11 14:10:45 | 250 2.1.5 [email protected] > > >> INFO | jvm 1 | 2009/03/11 14:10:45 | DEBUG SMTP: Verified > Addresses > > >> INFO | jvm 1 | 2009/03/11 14:10:45 | DEBUG SMTP: > > [email protected] > > >> 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: > "contin...@ena-continuum > > " > > >> <[email protected]> > > >> INFO | jvm 1 | 2009/03/11 14:10:45 | To: [email protected] > > >> INFO | jvm 1 | 2009/03/11 14:10:45 | Message-ID: > > >> <[email protected]> > > >> 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. > > > > >
