SMTP Auth Failing as Anonymous

Hi there, 

Trying to config Jira to send SMTP via O365 (Exchange) - Can verify that the connection to the server is successful, but when Jira tries to send test mail, it's being rejected by the server, because it says Jira's trying to send anonymous: 


DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]
DEBUG SMTP: need username and password for authentication
DEBUG SMTP: protocolConnect returning false, host=smtp.office365.com, user=jira, password=<null>
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "smtp.office365.com", port 587, isSSL false
220 CY4PR18CA0032.outlook.office365.com Microsoft ESMTP MAIL Service ready at Fri, 19 Jan 2018 05:52:01 +0000
DEBUG SMTP: connected to host "smtp.office365.com", port: 587

its showing user=jira, password as <null> - which is NOT what's setup in the SMTP config.

Notification schema is set to default, which is suppose to take the creds entered in the SMTP setup dialogue. doesn't seem to be happening. 

I've tested the correct account with O365 and it seems to be working fine. 
Could use a little help. :-)

TIA, 
JC

4 answers

0 votes

Hi John,

From the following based on what you have posted here:

DEBUG SMTP: protocolConnect returning false, host=smtp.office365.com, user=jira, password=<null>

It seems like the password is null as you have mentioned. Something might have gone wrong with the configuration. What if you just delete the Outgoing Mail configuration on JIRA and reconfigure it again? Do you have the same error?

Cheers,
Moga

0 votes

Similar problem here:

DEBUG SMTP: protocolConnect returning false, host=smtp.gmail.com, user=jira, password=<null>

 

I have configured the smtp password, and I have also tried deleting then recreating.

But still getting this password null problem.

I am getting the same problem and have also recreated my Outgoing Mail configuration. Does anybody have any ideas?

DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Oracle]
DEBUG SMTP: need username and password for authentication
DEBUG SMTP: protocolConnect returning false, host=my.mail.host, user=jira, password=<null>
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "my.mail.host", port 465, isSSL true

Same here, any solutions?

DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]
DEBUG SMTP: need username and password for authentication
DEBUG SMTP: protocolConnect returning false, host=smtp.office365.com, user=ALJIRA01$, password=<null>
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "smtp.office365.com", port 587, isSSL true
DEBUG SMTP: exception reading response, THROW:

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Mar 28, 2018 in Jira Software

Can a company’s culture make or break agile adoption?

Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...

17,662 views 18 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you