Patch #31899
Improve MailHandler logging for unauthorized attempts
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Email receiving | |||
Target version: | 4.1.0 |
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).
Associated revisions
Improve MailHandler logging for unauthorized attempts (#31899).
Patch by Gustavo Regal.
History
#1
Updated by Go MAEDA almost 3 years ago
- Target version set to 4.1.0
LGTM. Setting the target version to 4.1.0.
#3
Updated by Go MAEDA over 2 years ago
- Subject changed from Improve MailHandler logging to Improve MailHandler logging for unauthorized attempts
#4
Updated by Go MAEDA over 2 years ago
- Status changed from New to Closed
- Assignee set to Go MAEDA
Committed the patch. Thank you for improving Redmine.