-
Bug
-
Resolution: Fixed
-
Low (View bug fix roadmap)
-
None
NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.
Office365 mail handlers will send you deleted emails to process. Any email that is marked as deleted should not be processed.
- relates to
-
JRACLOUD-38594 JIRA email handlers shouldn't process emails with the DELETED flag set
-
- Closed
-
The jira-mail-plugin has been modified so that incoming messages with the DELETED flag set do not get processed. This takes care of the particular situation where an Office365 IMAP server sends JIRA emails that have already been processed by JIRA and marked for deletion but that haven't yet been expunged from the IMAP server yet. Such emails were originally processed twice by JIRA resulting in things like duplicate comments on issues. Now the jira-mail-handler plugin checks for the DELETED flag and ignores email messages with that flag. Unit test coverage was added along with the fix to guard against regressions.