Details
-
Bug
-
Resolution: Timed out
-
Low
-
3.3.0
-
None
-
Severity 3 - Minor
-
Description
It is not possible to have the Mail Server configured using a google account that is configured to use the 2-step authentication.
The test mail fails informing "Application-specific password required". The message showed in the "Send test mail" page is as follows:
Starting mail system... mail.smtp.host = smtp.gmail.com mail.smtp.starttls.enable = true mail.smtp.port = 587 mail.from = grefosco@atlassian.com.br mail.smtp.auth = true username = grefosco@atlassian.com password = ******* Mail system started. Using from address: 'grefosco@atlassian.com' DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc] DEBUG SMTP: useEhlo true, useAuth true DEBUG SMTP: useEhlo true, useAuth true DEBUG SMTP: trying to connect to host "smtp.gmail.com", port 587, isSSL false 220 mx.google.com ESMTP v41sm9442074yhi.19 - gsmtp DEBUG SMTP: connected to host "smtp.gmail.com", port: 587 EHLO ecrmac-32.local 250-mx.google.com at your service, [201.22.212.136] 250-SIZE 35882577 250-8BITMIME 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-PIPELINING 250 CHUNKING DEBUG SMTP: Found extension "SIZE", arg "35882577" DEBUG SMTP: Found extension "8BITMIME", arg "" DEBUG SMTP: Found extension "STARTTLS", arg "" DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg "" DEBUG SMTP: Found extension "PIPELINING", arg "" DEBUG SMTP: Found extension "CHUNKING", arg "" STARTTLS 220 2.0.0 Ready to start TLS EHLO ecrmac-32.local 250-mx.google.com at your service, [201.22.212.136] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN 250-ENHANCEDSTATUSCODES 250-PIPELINING 250 CHUNKING DEBUG SMTP: Found extension "SIZE", arg "35882577" DEBUG SMTP: Found extension "8BITMIME", arg "" DEBUG SMTP: Found extension "AUTH", arg "LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN" DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg "" DEBUG SMTP: Found extension "PIPELINING", arg "" DEBUG SMTP: Found extension "CHUNKING", arg "" DEBUG SMTP: Attempt to authenticate AUTH LOGIN 334 VXNlcm5hbWU6 Z3JlZm9zY29AYXRsYXNzaWFuLmNvbQ== 334 UGFzc3dvcmQ6 U3Qwcm1icmluZ2Vy 534-5.7.9 Application-specific password required. Learn more at 534 5.7.9 http://support.google.com/accounts/bin/answer.py?answer=185833 v41sm9442074yhi.19 - gsmtp problem sending email at javax.mail.Service.connect(Service.java:306) at javax.mail.Service.connect(Service.java:156) at javax.mail.Service.connect(Service.java:105) at javax.mail.Transport.send0(Transport.java:168) at javax.mail.Transport.send(Transport.java:98)
I've attached a debug log I generated for reference.