GitLab email notifications not sending

前端 未结 2 736
南方客
南方客 2021-02-04 07:48

I just recently install GitLab v5.0 on an Ubuntu 12.04 server and am now having issues with email notifications. I can\'t get GitLab to send any emails of any kind.

I\'

2条回答
  •  无人共我
    2021-02-04 08:14

    On CentOS, this helped for me:

    check your file /home/git/gitlab/config/environments/production.rb (if your running on production, wich is standard)

    There you can change your sendmail settings. You should try to remove the -t parameter, wich fixed it for me! Some mailservers don't accept this parameter (check your maillog to be sure)

      config.action_mailer.sendmail_settings = {
        :location => '/usr/sbin/sendmail',
        :arguments => '-i'
      }
    

提交回复
热议问题