Vote #80245
完了Improve MailHandler logging for unauthorized attempts
0%
説明
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: Messagecannot 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).
journals
LGTM. Setting the target version to 4.1.0.
--------------------------------------------------------------------------------
Slightly updated the patch.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Committed the patch. Thank you for improving Redmine.
--------------------------------------------------------------------------------