# Письмо активации не доставляется, тестовое письмо работает

**URL:** https://meta.discourse.org/t/activation-email-not-being-delivered-test-email-working/164659
**Category:** Self-hosting
**Created:** [20.Сентябрь.2020 21:17:05 UTC](https://meta.discourse.org/t/activation-email-not-being-delivered-test-email-working/164659 "2020-09-20T21:17:05Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![PappaK](https://avatars.discourse-cdn.com/v4/letter/p/e95f7d/32.png) [@PappaK](https://meta.discourse.org/u/PappaK)
#### Post date: [21.Сентябрь.2020 08:17:45 UTC](https://meta.discourse.org/t/activation-email-not-being-delivered-test-email-working/164659/8 "2020-09-21T08:17:45Z")

</div>

Следовал рекомендациям из этой темы:

> [@Office 365 SMTP settings](https://meta.discourse.org/t/office-365-smtp-settings/40400/2):
>
> Are you sure the terms of service for office 365 allow this? Discourse can send potentially thousands of emails per hour on a busy instance. For example, using Gmail for your outgoing Discourse mail service is absolutely prohibited by the Gmail terms of service. I would be quite shocked if this was not also the case for Outlook / Hotmail / Office365. (For incoming mails, e.g. reply-by-mail it’s less of a big deal since the volumes are so low.)

Добавил коннектор и использовал MX-адрес, указанный на панели администратора O365.

Я решил пересоздать весь Droplet (от DigitalOcean) после пересоздания приложения, чтобы проверить, поможет ли это. И это сработало! Теперь форум работает, и я получил письмо с активацией на свой аккаунт администратора.  
Однако я всё ещё не могу получить письмо при попытке создать учётную запись с моего личного Gmail. В разделе «Пропущенные» (skipped) на странице настроек электронной почты в панели администратора форума появляется следующее сообщение об ошибке:  
5…4 TenantAttribution; Relay Access Denied [HE…-eur04.prod.protection.outlook.com]

Похоже, решение может быть здесь:

> **[NDR error 550 5.7.64 TenantAttribution when sending emails through Microsoft...](https://learn.microsoft.com/en-us/exchange/troubleshoot/email-delivery/tenantattribution-ndr)**
>
> Describes an issue in which you receive a 550 5.7.64 TenantAttribution; Relay Access Denied SMTP error when sending mail through Microsoft 365.

Но я пока не пробовал. Обновлю информацию, как только найду время внедрить изменения по ссылке.

Краткое примечание: не приведёт ли пересоздание приложения к потере настроек, которые я изменил после активации аккаунта администратора?

---

_[View the full topic](https://meta.discourse.org/t/activation-email-not-being-delivered-test-email-working/164659)._
