Project

General

Profile

Actions

Patch #31899

closed

Improve MailHandler logging for unauthorized attempts

Added by Gustavo Regal over 5 years ago. Updated about 5 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

Also available in: Atom PDF