Configuring Mail Server Within Confluence (O365)

Hello!

 

I'm attempting to configure a mail server within our locally installed Confluence, but I'm receiving the below error when I send a test mail:

 

"An error has occurred with sending the test email:
com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.60 SMTP; Client does not have permissions to send as this sender [DM2PR04MB525.namprd04.prod.outlook.com]"

 

I have successfully set up a mail server within our Jira instance that's using the same credentials/hostname information with no issues. Any ideas as to what the problem may be?

 

As always thank you guys for your help, I really appreciate it.

1 answer

1 accepted

0 vote
Daniel Eads Community Champion Oct 23, 2017

Hi Zebadiah,

If your JIRA is working and you expect to use the same account, let's try pulling the credentials from your JIRA. Run this SQL command to fetch the username/password of your SMTP server from JIRA's database:

select * from mailserver where server_type = 'smtp';

The mailusername and mailpassword columns are what you're going to want to double-check, but go ahead and take a peek at the rest of the values to make sure everything else matches in Confluence as well. Try copying the password directly from the SQL results into the Confluence settings just in case there was a mistype somewhere along the way.

Hope solves it, but if not, we'll keep troubleshooting!

Cheers,
Daniel

P.S. If you feel like this answer helped, please hit the checkmark to the left to mark it as answered. This helps us focus our efforts on unsolved questions. Thanks!

Thank you, Daniel!

 

This got me what I needed!

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

346 views 20 10
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