Estava tentando baixar backups do site em /admin/backups e não consigo receber os e-mails de download. Após verificar o production.log, encontrei a seguinte saída:
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
Também há erros semelhantes relacionados a SMTP, como abaixo:
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
O site foi migrado de outro site antigo, e há muitos e-mails de usuários formatados como
909471255bcde5900c628c6@email.invalid
Alguém pode me dar uma pista sobre a causa do problema e como posso resolvê-lo?