L
L
lxfr2017-04-21 13:26:17
ruby
lxfr, 2017-04-21 13:26:17

Redmine does not send mail via Yandex Mail for Domain, what should I do?

In general, I decided to connect redmine to mail for domains from Yandex, in general, my config (in terms of mail) is like this:

default:
  email_delivery:
    delivery_method: :async_smtp
    smtp_settings:
      address: smtp.yandex.ru
      port: 465
      ssl: true
      enable_starttls_auto: true
      domain: мой_сайт.ru
      authentication: :login
      user_name: юзер@мой_сайт.ru
      password: мой_пароль

[email protected]_site.ru is, respectively, mail from YandexPDD.
In the redmine logs, I do not see any errors regarding the sending account, although the sending itself is fixed, the letters do not arrive.
What do you advise.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry, 2017-04-23
@lxfr

Here is the combat config, pay attention to async_smtp_settings instead of smtp_settings

production:
 attachments_storage_path: /mnt/files
 email_delivery:
    delivery_method: :async_smtp
    async_smtp_settings:
      ssl: true
      address: smtp.yandex.ru
      port: 465
      domain: ***.ru
      authentication: :plain
      user_name: [email protected]***.ru
      password: ***

A
Alexey Nacharov, 2019-08-24
@Ingolmo

This config works for me:

email_delivery:
  delivery_method: :smtp
  smtp_settings:
        ssl: true
        address: "smtp.yandex.ru"
        port: 465
        domain "my-site.io"
        authentication: :login
        user_name: [email protected]
        password: pass

As far as I understand, it is important that the user_name value matches the address that is specified as the sending address in the settings in the redmine admin panel

3
3vi1_0n3, 2017-04-21
@3vi1_0n3

If I'm not mistaken, letters can only be sent via Yandex mail from verified addresses, that is, for example, a phone number has been added. Plus, you can't send emails that could be identified as mass mailings. If you need to send letters, it is better to use mailing services, for example, SendGrid. SendGrid, for example, allows you to send up to 12,000 emails per month for free and integrates perfectly with the same domain on Yandex.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question