You are not logged in.

#1 2018-05-14 16:34:29

gavlig
Member
Registered: 2014-09-21
Posts: 5

gitlab doesn't send emails

Hello,

I'm trying to set up an instance of gitlab following wiki instructions and can't get email sending to work. I've installed and configured postfix, it works fine, I've also tested Notify.test_email(...).deliver_now (suggested here ) and it also works, but resending user confirmations instruction doesn't seem to do anything. Logs are clear, sidekiq is not reacting at all, production.log just indicates that http works(200 get etc). Also i've tried using :smtp instead of :sendmail and that didn't work either which leads me to thinking that it might be not postfix, but the bug in the gitlab itself.

production.log:

Started GET "/users/sign_in" for 172.xxx.xxx.78 at 2018-05-14 16:13:40 +0200
Processing by SessionsController#new as HTML
Completed 200 OK in 174ms (Views: 120.9ms | ActiveRecord: 4.3ms)
Started POST "/users/confirmation" for 172.xx.xx.78 at 2018-05-14 16:13:46 +0200
Processing by ConfirmationsController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"xyzxyz@gmail.com"}}
Redirected to http://172.xxx.xxx.150:8080/users/almost_there
Completed 302 Found in 63ms (ActiveRecord: 1.3ms)
Started GET "/users/almost_there" for 172.xxx.xxx.78 at 2018-05-14 16:13:46 +0200
Processing by ConfirmationsController#almost_there as HTML
Completed 200 OK in 24ms (Views: 21.5ms | ActiveRecord: 0.0ms)
Scheduling removal of build artifacts
StuckCiJobsWorker: Cleaning stuck builds
Scheduling removal of build artifacts
StuckCiJobsWorker: Cleaning stuck builds

Not sure where to look next. I was thinking about putting some logs into action_mailer/base.rb but couldn't find how to do that properly (probably will do that eventually later).

Last edited by gavlig (2018-05-14 16:37:06)

Offline

Board footer

Powered by FluxBB