Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

SMTPServerBusy misleading error message #13

dclausen opened this Issue Feb 1, 2013 · 0 comments


None yet
1 participant

dclausen commented Feb 1, 2013

By default, Postfix returns a 450 when the sending email address fails a DNS lookup such as the following:

#<Net::SMTPServerBusy: 450 4.1.8 <sdfsdf@xpwsdfsdfsfpwo.com>: Sender address rejected: Domain not found

While I agree that under normal circumstances it would be wise to stop sending should the external server actually be overloaded, in this case, none of the other emails that have been queued behind the offending email will ever be sent. As well, the error message of "server too busy, stopping delivery cycle" isn't accurate and is misleading.

Would it be possible to handle SMTPServerBusy exceptions just like Net::SMTPUnknownError, Net::SMTPSyntaxError, TimeoutError, Timeout::Error which just logs an error and continues on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment