SMTP not working after upgrade

After upgrading from Confluence 3.5.5 to 5.1.5 and moving from a Windows 2003 server to a Windows 2008 server this weekend, SMTP email no longer works. I get the following error when trying to send a test message:

An error has occurred with sending the test email. If your mail server requires authentication, please ensure that TLS or SSL is enabled on your server for the specific mailbox. If your mail server allows anonymous connection, please remove the username and password from the configuration and try again.

com.atlassian.mail.MailException: javax.mail.AuthenticationFailedException: No authentication mechansims supported by both server and client
	at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:193)
[truncated]

At the suggestion of our Exchange admin, I removed the username and password that had, until the upgrade, worked fine for authentication. He said anonymous would work internally. Then I got this error:

An error has occurred with sending the test email:
com.atlassian.mail.MailException: javax.mail.AuthenticationFailedException: failed to connect, no user name specified?
	at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:193)
	at com.atlassian.confluence.jmx.JmxSMTPMailServer.send(JmxSMTPMailServer.java:80)
	at com.atlassian.confluence.admin.actions.mail.SendTestEmailAction.execute(SendTestEmailAction.java:58)
[truncated]

I thought McAfee might be blocking the sending, but I confirmed it was configured to warn only, not block. I would appreciate any suggestions.

1 answer

1 accepted

After discovering this issue (https://jira.atlassian.com/browse/CONF-29000), I created a new SMTP configuration from scratch and was able to get anonymous sending to work.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

42 views 0 4
Read article

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