Can't configure notifications sending by mail

Good morning to all,

I have installed and configured on a server a Gitlab CE version 10.x. The only thing left for me to configure is the sending of notifications to users.

On my server I have postfix configured against a mail server. I do the test to see that it is working correctly by sending me an email from the command line

echo “Hello World” | mail -s “Test Message” e*****@gmail.com

The question is that I can’t configure it correctly in the Gitlab. I have made the following changes:

  • In the file “gitlab.yml” I have changed the following values ​​and / or commented out:

email_enabled: true
email_from: ext-caucesystem@mydomain.org
email_display_name: Gitlab
email_reply_to: ext-caucesystem@mydomain.org
email_subject_suffix: ‘’

Then I followed the documentation where you have to change another file, and rename it, config / initializers / smtp_settings.rb

Here I have added the necessary information. I save the changes, restart the gitlab, and when I do a test of sending mail, it gives me a 502 in the application and I don’t know exactly what I need to configure.

Best regards.