The standard email functionality is doing this:

EHLO ukfd-ecat
250-ukfd-ecat.eu.example.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
DEBUG SMTP: Found extension "PIPELINING", arg ""
DEBUG SMTP: Found extension "SIZE", arg "10240000"
DEBUG SMTP: Found extension "VRFY", arg ""
DEBUG SMTP: Found extension "ETRN", arg ""
DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg ""
DEBUG SMTP: Found extension "8BITMIME", arg ""
DEBUG SMTP: Found extension "DSN", arg ""
DEBUG SMTP: use8bit false
MAIL FROM:<eubu...@example.com>
250 2.1.0 Ok
DEBUG SMTP: sendPartial set
RCPT TO:<jamie.penman-smith...@example.com>
250 2.1.5 Ok
DEBUG SMTP: Verified Addresses
DEBUG SMTP:   jamie.penman-smith...@example.com
DATA
354 End data with <CR><LF>.<CR><LF>
Date: Wed, 2 Jan 2013 15:23:26 +0000 (GMT)
From: EU Development Build Daemon  <eubu...@example.com>
Reply-To: eubu...@example.com
To: jamie.penman-smith...@example.com
Message-ID: <895820852.2.1357140206318.javamail.tom...@ukfd-ecat.eu.example.com>
Subject: Test email #1
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

This is test email #1 sent from Jenkins
.
250 2.0.0 Ok: queued as 4F8F620614
QUIT

However, when email-ext sends the message it does not send anything:

INFO: test2 #8 main build action completed: SUCCESS
DEBUG: JavaMail version 1.4.4
DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Oracle], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Oracle], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Oracle], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Oracle], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Oracle]}
DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Oracle], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Oracle], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Oracle], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Oracle], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Oracle], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]}
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]
DEBUG SMTP: useEhlo true, useAuth false
DEBUG SMTP: trying to connect to host "ukfd-ecat", port 25, isSSL false
220 ukfd-ecat.eu.example.com ESMTP Postfix
DEBUG SMTP: connected to host "ukfd-ecat", port: 25

EHLO ukfd-ecat
250-ukfd-ecat.eu.example.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
DEBUG SMTP: Found extension "PIPELINING", arg ""
DEBUG SMTP: Found extension "SIZE", arg "10240000"
DEBUG SMTP: Found extension "VRFY", arg ""
DEBUG SMTP: Found extension "ETRN", arg ""
DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg ""
DEBUG SMTP: Found extension "8BITMIME", arg ""
DEBUG SMTP: Found extension "DSN", arg ""
DEBUG SMTP: use8bit false
MAIL FROM:<eubu...@example.com>
250 2.1.0 Ok
DEBUG SMTP: sendPartial set
RCPT TO:<eubu...@example.com>
250 2.1.5 Ok
RCPT TO:<jamie.penman-smith...@example.com>
250 2.1.5 Ok
DEBUG SMTP: Verified Addresses
DEBUG SMTP:   eubu...@example.com
DEBUG SMTP:   jamie.penman-smith...@example.com
DATA
354 End data with <CR><LF>.<CR><LF>
Date: Wed, 2 Jan 2013 15:31:46 +0000 (GMT)
From: EU Development Build Daemon <eubu...@example.com>
Reply-To: eubu...@example.com
To: eubu...@example.com, jamie.penman-smith...@example.com
Message-ID: <804300964.1.1357140706648.javamail.tom...@ukfd-ecat.eu.example.com>
Subject: test
MIME-Version: 1.0
Content-Type: multipart/mixed;.
>...boundary="----=_Part_0_1050019941.1357140706601"
X-Jenkins-Job: test2
X-Jenkins-Result: SUCCESS

QUIT
DEBUG SMTP: exception reading response, THROW:.
java.net.SocketTimeoutException: Read timed out

I've started a new instance of Jenkins on the LTS release (albeit using Winstone, rather than Tomcat) and it works fine, but I don't really want to have to re-create all of our existing jobs.

On the LTS on Winstone:

Subject: test - Build # 2 - Successful!
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----=_Part_0_2013263.1357143760487"
X-Jenkins-Job: test
X-Jenkins-Result: SUCCESS

------=_Part_0_2013263.1357143760487
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

test - Build # 2 - Successful:

Check console output at http://ecat:8081/job/test/2/ to view the results.
------=_Part_0_2013263.1357143760487--
.
250 2.0.0 r02GMe7v019174 Message accepted for delivery
QUIT

Could this be something to do with the Token Macro plugin?

Thanks,
Jamie

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to