You may want to upgrade to GitLab v7.12.2. It fixes a problem with the default CA file isn't set.
Alternatively, you can add this configuration line if you're using the omnibus version: https://gitlab.com/gitlab-org/gitlab-ce/issues/1558#note_1193654 On Mon, Jul 13, 2015 at 3:06 AM, Deepak S <[email protected]> wrote: > HI Team; > > I am newbie to gitlab. I have setup Gitlab 7.10.4 on a VPS with IP > address. I am able to signup new users but I was not able to receive > confirmation emails from the server to users. I have configured smtp for > sending emails. I am using my gmail credentials in smtp settings and no > emails are received. > Below is my smtp settings. and changed settings in > /home/git/gitlab/config/environments/production.rb to smtp. Can anyone help > me out?? > > > SMTP Settings /var/opt/gitlab/gitlab-rails/etc/smtp_settings.rb > # This file is managed by gitlab-ctl. Manual changes will be > # erased! To change the contents below, edit /etc/gitlab/gitlab.rb > # and run `sudo gitlab-ctl reconfigure`. > > > > > > > > > > > > > > > *if Rails.env.production? > Gitlab::Application.config.action_mailer.delivery_method = :smtp > ActionMailer::Base.smtp_settings = { authentication: :login, address: > "smtp.gmail.com <http://smtp.gmail.com>", port: 456, user_name: "my > email ID", password: "MyPassword.", domain: "gmail.com > <http://gmail.com>", enable_starttls_auto: true, tls: false, > openssl_verify_mode: "none",* > > > } > end > ~ > > -- > You received this message because you are subscribed to the Google Groups > "GitLab" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/gitlabhq/fa320349-35e8-4834-a065-2068888840f7%40googlegroups.com > <https://groups.google.com/d/msgid/gitlabhq/fa320349-35e8-4834-a065-2068888840f7%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/CAMBWrQkoaCR%2BaJsCaf339hvXMhEXga%3DcA0i7oGewYx5RK-FrHw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
