プロジェクト

全般

プロフィール

Vote #72918

完了

Handle temporary failures gracefully in the external mail handler script

Admin Redmine さんが4年以上前に追加. 4年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Email receiving_29
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
29
version_id:
60
issue_org_id:
12528
author_id:
29374
assigned_to_id:
1
comments:
2
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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.


journals

--------------------------------------------------------------------------------
Committed with slight changes in r10954.
--------------------------------------------------------------------------------

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0