Skip to content
This repository has been archived by the owner on Dec 30, 2019. It is now read-only.

SMTPServerBusy misleading error message #13

Open
dclausen opened this issue Feb 1, 2013 · 0 comments
Open

SMTPServerBusy misleading error message #13

dclausen opened this issue Feb 1, 2013 · 0 comments

Comments

@dclausen
Copy link

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 <[email protected]>: 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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant