Project

General

Profile

Actions

Defect #12528

closed

Handle temporary failures gracefully in the external mail handler script

Added by Alex Shulgin about 12 years ago. Updated about 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 #1

Updated by Etienne Massip about 12 years ago

  • Target version set to Candidate for next major release
Actions #2

Updated by Jean-Philippe Lang about 12 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.

Actions

Also available in: Atom PDF