Handle temporary failures gracefully in the external mail handler script
|Assignee:||Jean-Philippe Lang||% Done:|
Currently, the external mail handler (rdm-mailhandler.rb) would report permanent failure in case the Redmine instance at given --url is down.
This is a problem, since one need to shut down email service around Redmine upgrade or maintenance. Attached patch fixes this by making the script exit with 75 status which is treated as 'temporary failure' by the mail subsystem, effectively re-attempting submission later.
Patch against 2.1-stable.