How to solve JIRA Service Desk mail loops
Emails sent to a JIRA Service Desk inbox are not creating issues, particularly from certain email addresses.
The JIRA Service Desk Processing Logs, located at https://<instance>/secure/admin/SDMailinfo.jspa, will show the error message "there are several messages within configured time-frame which indicates potential mail loop" in the detail section and the handler will be the "Mail Loop Detector".
A particular email address is sending a lot of email to JIRA Service Desk inbox in a short period of time. The advanced mail loop detector will block emails from specific email addresses if more than the configured number of emails are received within 15 minutes.
WorkaroundGo to the incoming mail page located at https://<instance>/secure/admin/IncomingMailServers.jspa and in the 'advanced mail loop detector' and make one of the following three changes:
- Increase the threshold so that it does not trigger as easily (recommended).
- Set the threshold to 0 to disable it completely (not recommended as it could cause a mail loop to spam your instance).
- Whitelist trusted domains so that they are not impacted by the mail loop detector (not recommended as it may cause a mail loop even on the trusted domain).
Mail loops are commonly caused by out of office notifications, so even trusted domains could cause a mail loop.