Hi. I have Ubuntu 16.04 LTS server, that I’ve just installed and Gitlab CE on it. I installed it with install-script from http://gitlab.com. Mattermost is enabled and everything works fine except SMTP notifications.
I tried to change settings from system console (in browser), but they get reset on gitlab-ctl reconfigure.
Then I tried to change directly /etc/gitlab/gitlab.rb with this settings:
They look fine when I go back to system console, but it shows me auth error:
Failed to authenticate on SMTP server [details: 535 5.7.8 Username and Password not accepted.
But now if I set password in the system console to the same password from config - everything works. Until next gitlab-ctl reconfigure when password is reset again.
It looks like there might be an issue with GitLab’s gitlab-ctl reconfigure not correctly setting the password in our config. After running a gitlab-ctl reconfigure, can you look at /var/opt/gitlab/mattermost/config.json and see if the SMTP password (and other settings) are being set correctly under EmailSettings?
If it does look like it’s being set correctly, can you then set the password from the System Console and look at config.json again. Notice any differences?
Oh, sorry. Seems the reason is different - it’s just “Test Connection” button in client. It gives an auth error message anytime the password is hidden behind asterisks. If I just paste plain text in password field instead of asterisks, test gives me successful connection (even without saving).
Why not just log into Exchange, open the Exchange Management Console, go to Server Configuration -> Hub Transport, and setup a receive connector for your web server?
Because I don’t have access to the Exchange server Pega configuration. I can only create mailboxes with some standard properties using the portal the 3rd party is operating. I might probably ask them to change the config, but the problem is that the service is the shared exchange, they might not be willing to change anything at all