Project

General

Profile

Actions

Patch #31899

closed

Improve MailHandler logging for unauthorized attempts

Added by Gustavo Regal over 4 years ago. Updated over 4 years ago.

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

0%

Estimated time:

Description

I usually struggle to understand the root cause when one e-mail fails tu be processed.
What I do in those situations is to read production.log and search for "MailHandler:" entries.
It is not unusual to find only one entry, saying:

MailHandler: Message <id> cannot be processed

So I started this improvement, which already allowed to find out that, in a given case, the issue could not be created because the user didn't have permission to create it under that given project. In fact, the user had sent an e-mail to the wrong recipient (missed the sub-address).


Files

Actions #1

Updated by Go MAEDA over 4 years ago

  • Target version set to 4.1.0

LGTM. Setting the target version to 4.1.0.

Actions #2

Updated by Go MAEDA over 4 years ago

Slightly updated the patch.

Actions #3

Updated by Go MAEDA over 4 years ago

  • Subject changed from Improve MailHandler logging to Improve MailHandler logging for unauthorized attempts
Actions #4

Updated by Go MAEDA over 4 years ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA

Committed the patch. Thank you for improving Redmine.

Actions

Also available in: Atom PDF