Trellis | Contact Form 7 | yandex mail

Hi, I ran into a problem - the message CF7 is not sent.

I’m using Яндекс 360 для бизнеса — 30 дней бесплатно

in the group/vars/all/mail.yml file such settings:

mail_smtp_server: smtp.yandex.ru:465
mail_admin: admin@example.com
mail_hostname: example.com
mail_user: admin@example.com
mail_password: "{{ vault_mail_password }}"

in the group/vars/all/vault.yml file:

vault_mail_password: login-password-for-admin@emaxple.com
ansible-playbook server.yml -e env=production --tags mail

result in the srv/www/example.com/error.log file:

6104 upstream timed out (110: Connection timed out) while reading response header from upstream, client

Please tell me what I’m doing wrong … How can I solve this problem ???


has changed!

mail_smtp_server: ssl://smtp.yandex.ru:465

the form began to give at least an error message: “An error occurred while sending the message, please try again later.” Until then, when sending nothing happened …


has changed!

mail_smtp_server: smtp.yandex.ru:587 - (not SSL)
ansible-playbook server.yml -e env=production --tags mail

result: Mail send, but when sending the form does not give any notification that the letter was sent, and the message takes a long time to reach the post office, about 2-4 minutes…

09