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

George Baier IV April 6, 2015

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
Answer accepted
no_longer_in_sudoers_file
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 3, 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.

--Sam

 

 

George Baier IV June 3, 2015

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

0 votes
Boris Berenberg
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 7, 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
TAGS
AUG Leaders

Atlassian Community Events