Gitlab cannot send email to a new user

I just installed git git-1.8.1.2 and gitlab gitlab_6.7.2-omnibus-1.ubuntu.12.04_amd64.deb on a fresh install of Ubuntu 12.04 as follows: https://gitlab.com/gitlab-org/omnibus-gitlab/ blob / master / README.md # ubuntu-12-04 and: https://www.gitlab.com/2014/03/12/packaged-gitlab-with-omnibus/

When setting up a new user in gitlab, he tries to send an email with temporary passwords, but postfix receives an error from the relay node: Invalid sender address syntax (in response to the MAIL FROM command)

My /etc/gitlab/config/environments/production.rb looks like this

config.action_mailer.delivery_method = :smtp
config.action_mailer.perform_deliveries = true
config.action_mailer.raise_delivery_errors = true

config.action_mailer.smtp_settings = {
      :address              => 'mail.domain.com',
      :port                 => 587,
      :domain               => 'domain.com',
      :user_name            => 'username@domain.com',
      :password             => 'password',
      :authentication       => 'password',
      :enable_starttls_auto => true
}

, , , - echo ' .' | sendmail "Hello world" myemail@domain.com

?

+5
1

AWS SES. 2 , , 22, 80 443.

. (0.0.0.0/0), . , , 22 (SSH), 90 (HTTP), 443 (HTTPS) 25 (SMTP) IP- SMTP-, .

, , SES SMTP-. .

+1

Source: https://habr.com/ru/post/1534954/


All Articles