Net::SMTPServerBusy 例外

ウェブサイトのバックアップを /admin/backups からダウンロードしようとしていますが、ダウンロードメールが届きません。production.log を確認したところ、以下の出力が見つかりました。

Started PUT "/admin/backups/xxx.tar.gz" for 203.18.50.6 at 2023-05-08 05:34:50 +0000
Processing by Admin::BackupsController#email as */*
  Parameters: {"id"=>"xxx.tar.gz"}
start
  Rendered text template (Duration: 0.0ms | Allocations: 1)
Completed 200 OK in 658ms (Views: 3.7ms | ActiveRecord: 0.0ms | Allocations: 11718)
  Rendered layouts/email_template.html.erb (Duration: 2.6ms | Allocations: 36)
Job exception: Net::SMTPServerBusy

fail

以下のような、SMTPに関連する同様のエラーも存在します。

start
  Rendered user_notifications/digest.html.erb within layouts/email_template (Duration: 26.5ms | Allocations: 3067)
  Rendered layout layouts/email_template.html.erb (Duration: 35.6ms | Allocations: 3335)
  Rendered user_notifications/digest.text.erb (Duration: 19.6ms | Allocations: 2594)
Job exception: Net::SMTPServerBusy

Job exception: unexpected return

fail

サイトは古い別のサイトから移行されたもので、多くのユーザーメールが 909471255bcde5900c628c6@email.invalid のような形式になっています。

この問題の原因と解決策について、何か手がかりをいただけないでしょうか?

SMTPサーバーに問題があります。修正する必要があります。

これらのユーザーは無効な(おそらく空の)メールアドレスを持っていたため、インポートスクリプトがダミーのアドレスを作成しました。これを修正するためにできることはあまりありません。

SMTPサーバーに関連していることが判明しました。./discourse-doctorで確認し、SMTPエラーを解決しました。これでメールを送信できるようになり、キューに入っていたメールも送信されました。
@pfaffman、いつも助けてくれてありがとう。

「いいね!」 1

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.