continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Melanson <jplmelan...@gmail.com>
Subject Re: wrong configuration for e-mail notifications
Date Thu, 19 Mar 2009 14:41:43 GMT

<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
View raw message