Do I need an SMTP Relay when setting up an Outgoing Mail Server for Confluence?

We're using Exchange to setup a mail account for Confluence. Does this need to be an SMTP Relay? I can't find specific mention of this in the Confluence Server documentation.

I'm also wondering how people are getting around an expiring password.

2 answers

1 accepted

0 votes
Accepted answer
Sam Caldwell Atlassian Team Jun 03, 2015

@George Baier IV,

I've been where you're at and would recommend against an SMTP Relay.  Instead, configure your Confluence server to smarthost the email through Exchange:

  1. Create a service user account on Exchange (This is just a normal mail user dedicated to the confluence system).
  2. Configure Confluence to use the servername, username and password just like you would do for any Mail client (e.g. Outlook).
  3. Test and verify the emails relay just fine.


SMTP relays can be abused in so many ways I always recommend against them.  Having an authenticated smarthost, allows Confluence to send as an auditable user which you can track on the Confluence and the Exchange side for troubleshooting.




We ended up using because Confluence is hosted on an outside server. Our company policy is to not let outside servers use our Exchange server directly. So worked out perfectly for this.

0 votes
Boris Berenberg Community Champion Apr 07, 2015

Your Exchange server must be configured to accept SMTP connections. I am not sure if that means a "relay" in exchange terms, but it is not a relay in SMTP terms.

When you say expiring password, I assume you mean for the email account sending the email? I would disable an expiring password on this account and set it to only be allowed to login from the IP of your Confluence server.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

482 views 3 18
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