==================== MAIL TEST ====================
For a robust test, get an address from http://www.mail-tester.com/
Sending mail to REDACTED . .
Testing sending to callumokane123@gmail.com using support@maniabots.xyz:REDACTED@smtp.zoho.com:587.
SMTP server connection successful.
Sending to callumokane123@gmail.com. . .
Sending mail failed.
==================== DONE! ====================
And I do not get the activation email for setting up account
My guess is that your forum is called forum.maniabots.xyz and is sending from noreply@forum.maniabots.xyz and your mail server won’t do it. There is a line at the bottom of app.yml that you can change to set the address. You have to edit it by hand.
## Any custom commands to run after building
run:
- exec: echo "Beginning of custom commands"
## If you want to set the 'From' email address for your first registration, uncomment and change:
## After getting the first signup email, re-comment the line. It only needs to run once.
- exec: rails r "SiteSetting.notification_email='support@maniabots.xyz'"
- exec: echo "End of custom commands"
こんにちは皆さん、
この問題に対する解決策が見つかりましたか?
Docker ホストに Postfix を設定して、送信メールを処理するようにしました。SSH から mail コマンドでメールを送信するときは問題なく動作するのですが、Discourse Docker では OP と同じエラーが発生します。このスレッドのヒント:How to set SMTP config to use localhost? を参考に、Discourse Docker からメールサーバーへの接続時にユーザー名とパスワードを指定しなくても認証エラーが出ないようにしました。しかし、今度は「送信に失敗しました」というエラーが出るようになりました。何かご存知の方はいらっしゃいますか?
メールサーバーの設定が、Discourse の導入プロセスで最も難しい部分になるとは思いもしませんでした… Discourse のインストールは完璧で、あらゆる Linux のメールサーバー設定とは比べ物にならないほどよく考えられています。