More Information...

Looking at the logs using gitlab-ctl tail I see a ruby error... missing 
SMTP-AUTH? I've configured everything and double checked...

2016-05-17_17:09:43.48080 2016-05-17T17:09:43.480Z 3594 TID-8w3do WARN: 
{"class"=>"ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper", 
"wrapped"=>"ActionMailer::DeliveryJob", "queue"=>"mailers", 
"args"=>[{"job_class"=>"ActionMailer::DeliveryJob", 
"job_id"=>"650cf42e-2a9c-48cb-85ae-7a6c638649be", "queue_name"=>"mailers", 
"arguments"=>["DeviseMailer", "confirmation_instructions", "deliver_now", 
{"_aj_globalid"=>"gid://gitlab/User/5"}, "zTi-zyzxeTWFsWz4uQzs", 
{"_aj_symbol_keys"=>[]}], "locale"=>"en"}], "retry"=>true, 
"jid"=>"f21fc4e709b2f4f52a8fbb33", "created_at"=>1463504950.8738418, 
"enqueued_at"=>1463504983.4531884, "error_message"=>"SMTP-AUTH requested 
but missing user name", "error_class"=>"ArgumentError", 
"failed_at"=>1463504950.907478, "retry_count"=>1, 
"retried_at"=>1463504983.4794774}
2016-05-17_17:09:43.48081 2016-05-17T17:09:43.480Z 3594 TID-8w3do WARN: 
ArgumentError: SMTP-AUTH requested but missing user name
2016-05-17_17:09:43.48082 2016-05-17T17:09:43.480Z 3594 TID-8w3do WARN: 
/opt/gitlab/embedded/lib/ruby/2.1.0/net/smtp.rb:781:in `check_auth_args'


On Tuesday, May 17, 2016 at 11:55:11 AM UTC-4, Robert Moggach wrote:
>
> Hi there,
>
> I'm having issues with SMTP and logs are not providing enough information 
> to diagnose.
>
> * I have configured email using the provided documentation at: 
> https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/smtp.md
>
> * I am using mailgun and have confirmed the given authentication works.
>
> * I'm running latest gitlab omnibus on CentOS 7.2 installed via yum
>
> * I've tried ports 465 and 587
>
> * my configuration from /etc/gitlab/gitlab.rb is below:
>
> gitlab_rails['smtp_enable'] = true
> gitlab_rails['smtp_address'] = "smtp.mailgun.org"
> gitlab_rails['smtp_port'] = 587
> gitlab_rails['smtp_authentication'] = "plain"
> gitlab_rails['smtp_enable_starttls_auto'] = true
> gitlab_rails['smtp_username'] = "git...@mg.mydomain.com"
> gitlab_rails['smtp_password'] = "password"
> gitlab_rails['smtp_domain'] = "mg.mydomain.com"
>
> mattermost['email_smtp_username'] = "matterm...@mg.mydomain.com"
> mattermost['email_smtp_password'] = "password"
> mattermost['email_smtp_server'] = "smtp.mailgun.org"
> mattermost['email_smtp_port'] = 465
>
> Thanks for any help you can provide.
>
> Rob
>
>

-- 
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 gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/c1e7410a-e7fc-48a0-8ec7-942ddfb80762%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to