A user, sam_h, reports an error in Discourse when sending emails via Yandex SMTP: 530 5.7.7 Email sending without SSL/TLS encryption is not allowed. Despite correct configuration in app.yml and successful email testing with swaks, the Discourse email system fails. The user also tried MailJet and Sendgrid, which had similar issues, while swaks worked fine. Stranik suggests checking domain registration and ensuring the email address matches between notification email and DISCOURSE_SMTP_USER_NAME, but sam_h confirms the domain and email are properly set up. sam_h suspects a bug in the 2.6.0.beta2 version and asks how to install the latest stable version. The user also notes that emails are logged as delivered in the system, but the issue persists. Valentin_L asks if the problem was resolved.
Hi, I have an error saying 530 5.7.7 Email sending without SSL/TLS encryption is not allowed. Please see: https://yandex.ru/support/mail/mail-clients/ssl.html while running ./discourse-doctor.
However, with same config, I can successfully send email with swaks.
E-mail address in: notification email (admin/site_settings/category/required) and DISCOURSE_SMTP_USER_NAME (app.yml) same.
The user (his email address) is in the settings, and there is an account of this user on the forum. This user has a Yandex mail. And the mail itself is served by Yandex.
I have done this, it seems to work.
In Yandex, you must actually create a mail domain. Confirm the rights to it, and set all the necessary settings.
To be honest, I don’t fully understand how this works. It’s too complicated. )
I did register domain and create the email. I can use that email for other purposes. I’ve done that before, so I’m sure domain ownership verification and email creation is working correctly.
I tried Sendgrid yesterday and it did not work. And again, testing email sending with swaks works just fine. I’m starting to think if there’s a bug in current version. I’m using iscourse 2.6.0.beta2. I followed the installation scripts in Docker hub page:
sudo -s
mkdir /var/discourse
git clone https://github.com/discourse/discourse_docker.git /var/discourse
cd /var/discourse
I think probably the beta is breaking. How do I install the latest stable version?
I looked at the log file after hitting resend verification email and got this: Delivered mail a6148e37-bccc-4c05-9987-7fb867a4f369@domain.com. I’m not sure if it’s the problem but my email look like this test@domain.com.
@codinghorror can you please have a look? Major email services (Mailjet, Sendgrid, Yandex) failed with this build. But the emails all go through with swaks --to me@gmail.com --from mailbox@domain.com --server smtp. yandex. ru --auth LOGIN --auth-user mailbox@domain.com -tls -p 587.