Defect #12528
Handle temporary failures gracefully in the external mail handler script
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Email receiving | |||
Target version: | 2.3.0 | |||
Resolution: | Fixed | Affected version: |
Description
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.
Associated revisions
MailHandler: exit with 75 when a SystemCallError is raised (#12528).
History
#1
Updated by Etienne Massip about 8 years ago
- Target version set to Candidate for next major release
#2
Updated by Jean-Philippe Lang about 8 years ago
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
- Target version changed from Candidate for next major release to 2.3.0
- Resolution set to Fixed
Committed with slight changes in r10954.