GitLab email setup: sending via another mail server

git, gitlab, ruby-on-rails, ruby-on-rails-3, smtp

Solution

This confused me too. But to change the mail setting you edit them in config/environments/production.rb Just add a config.action_mailer.smtp_settings like a regular rails app.

Problem

By default gitlab has the next configuration in `gitlab.yml` : ``` email: from: notify@gitlabhq.com host: gitlabhq.com ``` but, I need to specify other variables (host, port, user, password, etc) to use another mail server. How I do that?

Original source

Related problems