Hello!

I configured a gitlab-ee instance to send email by SMTP.

I tested it successfully with gitlab-rails console.

But when I’m trying to ask for a password reset from the login screen (with 
the same end-user e-mail address) the password-reset email is not sent.

I found the following in /var/log/gitlab/sidekiq/current:


{"severity":"WARN","time":"2019-11-19T11:34:31.371Z","error_class":"Net::SMTPSyntaxError","error_message":"501
 5.5.4 Invalid Address\n","context":"Job raised exception","jobstr":"{\"class\"\
:\"ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper\",\"wrapped\":\"ActionMailer::DeliveryJob\",\"queue\":\"mailers\",\"args\":[{\"job_class\":\"ActionMailer::DeliveryJob\",\"job_id\":\\
"edb41989-0aa6-48bc-a34b-e358cb94081e\",\"provider_job_id\":null,\"queue_name\":\"mailers\",\"priority\":null,\"arguments\":[\"DeviseMailer\",\"reset_password_instructions\",\"deliver_now\"\
,{\"_aj_globalid\":\"gid://gitlab/User/3\"},\"hu1b3ENivcGhzTG3QMgL\",{\"_aj_symbol_keys\":[]}],\"executions\":0,\"locale\":\"en\"}],\"retry\":3,\"jid\":\"7cc610b78dae496762525604\",\"create\
d_at\":1574163116.2137258,\"correlation_id\":\"p3kPRHIPSS\",\"enqueued_at\":1574163270.583045,\"error_message\":\"501
 5.5.4 Invalid Address\\n\",\"error_class\":\"Net::SMTPSyntaxError\",\"f\
ailed_at\":1574163116.7940586,\"retry_count\":2,\"retried_at\":1574163215.025852}","class":"ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper","wrapped":"ActionMailer::DeliveryJob","queu\
e":"mailers","args":[{"job_class":"ActionMailer::DeliveryJob","job_id":"edb41989-0aa6-48bc-a34b-e358cb94081e","provider_job_id":null,"queue_name":"mailers","priority":null,"arguments":["Dev\
iseMailer","reset_password_instructions","deliver_now",{"_aj_globalid":"gid://gitlab/User/3"},"hu1b3ENivcGhzTG3QMgL",{"_aj_symbol_keys":[]}],"executions":0,"locale":"en"}],"retry":3,"jid":"\
7cc610b78dae496762525604","created_at":1574163116.2137258,"correlation_id":"p3kPRHIPSS","enqueued_at":1574163270.583045,"failed_at":1574163116.7940586,"retry_count":2,"retried_at":157416321\
5.025852,"error_backtrace":["lib/gitlab/sidekiq_daemon/monitor.rb:43:in 
`within_job'"]}

Not sure how to go further to solve this?

Best regard
​

-- 
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/d771b4d2-fb56-48e2-b7ed-b2728d83b1c0%40googlegroups.com.

Reply via email to