Project

General

Profile

Actions

Defect #12528

closed

Handle temporary failures gracefully in the external mail handler script

Added by Alex Shulgin almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Category:
Email receiving
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
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.


Files

Actions

Also available in: Atom PDF