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

@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 vote
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
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
Posted yesterday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

107 views 3 3
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