Hello! I`m setting smtp on
gitlab_rails[‘smtp_enable’] = true
gitlab_rails[‘smtp_address’] = “smtp.mail.ru”
gitlab_rails[‘smtp_port’] = 465
gitlab_rails[‘smtp_user_name’] = “gitlab@vapeagency.pro”
gitlab_rails[‘smtp_password’] = “password”
gitlab_rails[‘smtp_domain’] = “vapeagency.pro”
gitlab_rails[‘smtp_authentication’] = “login”
gitlab_rails[‘smtp_enable_starttls_auto’] = true
gitlab_rails[‘smtp_openssl_verify_mode’] = ‘peer’
gitlab_rails[‘smtp_tls’] = true
mail.ru settings - Список серверов почты IMAP, SMTP и POP3 для настройки почтового клиента
and mail not working, and i heve error:
irb(main):002:0> Notify.test_email(‘nottrollman@ya.ru’, ‘Message Subject’, ‘Message Body’).deliver_now
Notify#test_email: processed outbound mail in 0.7ms
Sent mail to nottrollman@ya.ru (60210.2ms)
Date: Sat, 04 Feb 2017 10:55:03 +0000
From: VapeAgency Gitlab gitlab@vapeagency.pro
Reply-To: VapeAgency Gitlab gitlab@vapeagency.pro
To: nottrollman@ya.ru
Message-ID: 5895b307b2dae_7fb53fb7ef6db12c9991c@Gitlab-va.mail
Subject: Message Subject
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Message Body
Net::ReadTimeout: Net::ReadTimeout
from /opt/gitlab/embedded/lib/ruby/2.3.0/net/protocol.rb:158:inrbuf_fill' from /opt/gitlab/embedded/lib/ruby/2.3.0/net/protocol.rb:136:in
readuntil’
from /opt/gitlab/embedded/lib/ruby/2.3.0/net/protocol.rb:146:inreadline' from /opt/gitlab/embedded/lib/ruby/2.3.0/net/smtp.rb:946:in
recv_response’
from /opt/gitlab/embedded/lib/ruby/2.3.0/net/smtp.rb:556:inblock in do_start' from /opt/gitlab/embedded/lib/ruby/2.3.0/net/smtp.rb:956:in
critical’
from /opt/gitlab/embedded/lib/ruby/2.3.0/net/smtp.rb:556:indo_start' from /opt/gitlab/embedded/lib/ruby/2.3.0/net/smtp.rb:521:in
start’
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/mail-2.6.4/lib/mail/network/delivery_methods/smtp.rb:113:indeliver!' from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/mail-2.6.4/lib/mail/message.rb:2149:in
do_delivery’
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/mail-2.6.4/lib/mail/message.rb:237:inblock in deliver' from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/actionmailer-4.2.7.1/lib/action_mailer/base.rb:543:in
block in deliver_mail’
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:inblock in instrument' from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in
instrument’
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:ininstrument' from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/actionmailer-4.2.7.1/lib/action_mailer/base.rb:541:in
deliver_mail’
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/mail-2.6.4/lib/mail/message.rb:237:indeliver' from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/actionmailer-4.2.7.1/lib/action_mailer/message_delivery.rb:85:in
deliver_now’
from (irb):2
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.7.1/lib/rails/commands/console.rb:110:instart' from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.7.1/lib/rails/commands/console.rb:9:in
start’
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.7.1/lib/rails/commands/commands_tasks.rb:68:inconsole' from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.7.1/lib/rails/commands/commands_tasks.rb:39:in
run_command!’
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.7.1/lib/rails/commands.rb:17:in<top (required)>' from bin/rails:9:in
require’
from bin/rails:9:in `’
irb(main):003:0>
How i can fix this?