I was using Gitlab as development environment for my company. One of the features of Gitlab is send emails when a interaction happens in the portal. There is not going to be a lot of emails but I want to use a Zoho email account to handle that email delivery. I saw that you allow to use your emails in scripts but for some reason in the Gitlab email configuration it's not working. Gitlab uses the Rails' action mailer class.
config.action_mailer.smtp_settings = {
:address => "smtp.zoho.com",
:port => 465,
:domain => "dev.simplit.cl",
:authentication => :plain,
:password => password",
:ssl => true,
}
2014-09-04T13:40:53Z 1794 TID-1fmpkc WARN: {"retry"=>true, "queue"=>"mailer", "class"=>"Devise::Async::Backend::Sidekiq", "args"=>["reset_password_instructions", "User", "2"], "jid"=>"510b5556543685052cea649e", "enqueued_at"=>1409837421.9946668, "error_message"=>"end of file reached", "error_class"=>"EOFError", "failed_at"=>"2014-09-04T13:30:22Z", "retry_count"=>3, "retried_at"=>2014-09-04 13:40:53 UTC}
2014-09-04T13:40:53Z 1794 TID-1fmpkc WARN: end of file reached
2014-09-04T13:40:53Z 1794 TID-1fmpkc WARN: /opt/bitnami/ruby/lib/ruby/1.9.1/openssl/buffering.rb:174:in `sysread_nonblock'
/opt/bitnami/ruby/lib/ruby/1.9.1/openssl/buffering.rb:174:in `read_nonblock'
/opt/bitnami/ruby/lib/ruby/1.9.1/net/protocol.rb:141:in `rbuf_fill'
/opt/bitnami/ruby/lib/ruby/1.9.1/net/protocol.rb:122:in `readuntil'
/opt/bitnami/ruby/lib/ruby/1.9.1/net/protocol.rb:132:in `readline'
/opt/bitnami/ruby/lib/ruby/1.9.1/net/smtp.rb:930:in `recv_response'
/opt/bitnami/ruby/lib/ruby/1.9.1/net/smtp.rb:916:in `block in getok'
/opt/bitnami/ruby/lib/ruby/1.9.1/net/smtp.rb:940:in `critical'
/opt/bitnami/ruby/lib/ruby/1.9.1/net/smtp.rb:914:in `getok'
/opt/bitnami/ruby/lib/ruby/1.9.1/net/smtp.rb:908:in `quit'
/opt/bitnami/ruby/lib/ruby/1.9.1/net/smtp.rb:614:in `do_finish'
/opt/bitnami/ruby/lib/ruby/1.9.1/net/smtp.rb:523:in `ensure in start'
/opt/bitnami/ruby/lib/ruby/1.9.1/net/smtp.rb:523:in `start'
The interesting part, that it was working fine when I was using my old email provider (Outlook), then I think it is a configuration problem