Alex_王
(Alex 王)
02.Август.2023 00:37:30
1
Я использую AWS EC2 и AWS SES для хостинга своего Discourse. Однако, несмотря на полдня попыток, мне не удалось настроить работу SMTP.
Я следовал инструкции:
You just installed Discourse via the install guide , but email doesn’t seem to work. Unfortunately this means you can’t log in as an admin to finalize the install. Let’s troubleshootize!
Try the doctor
If you run ./discourse-doctor it will check several ways that your mail configuration might be broken, and offer advice. Try that first.
Did you enter email settings correctly?
The simplest way is to run ./discourse-setup again. Did you enter everything correctly? B…
Получил:
Но мой адрес (wangziyu0917@gmail.com ) не получает письмо с подтверждением.
Иногда в логах появляется сообщение: “Job exception: Net::SMTPAuthenticationError”.
Не понимаю, в чём причина. Я уверен, что логин и пароль SMTP указаны верно.
Также я пробовал следующее:
На данный момент мой AWS SES находится в режиме песочницы, но я подтвердил свой адрес (wangziyu0917@gmail.com ):
ПОМОГИТЕ, ПОЖАЛУЙСТА
Lilly
(Lillian )
02.Август.2023 00:45:07
2
Возможно, вам стоит ознакомиться с этими темами:
I’m having trouble moving from SendGrid to Amazon SES.
Could someone kindly share their settings from app.yml or confirm mine are correct?
## TODO: The SMTP mail server used to validate new accounts and send notifications
DISCOURSE_SMTP_ADDRESS: email-smtp.eu-west-2.amazonaws.com
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: xxxxxxx
DISCOURSE_SMTP_PASSWORD: "xxxxxxxxxx"
DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default true)
DISCOURSE_SMTP_AUTHENTICATION: …
I’ve configured Amazon SES.
I’m out of the sandbox, which means I can send emails to unverified addresses.
From Amazon SES doc :
When your account is out of the sandbox, you can send email to any recipient, regardless of whether the recipient’s address or domain is verified. However, you still have to verify all identities that you use as “From”, “Source”, “Sender”, or “Return-Path” addresses…
I’ve also configured my SMTP credentials.
Sending a test email to an unverified recipient email w…
Alex_王
(Alex 王)
02.Август.2023 00:49:58
3
Это последний лог при попытке регистрации
Alex_王
(Alex 王)
02.Август.2023 00:50:37
4
СПАСИБО, но я проверил эти варианты, и не думаю, что они помогут.
Alex_王
(Alex 王)
02.Август.2023 00:59:47
5
ОМГ, я решил это! Мне нужно добавить свой домен (www.aoxodo.com ) в SES, так как он использует этот домен для отправки писем.