Add ability to set exceptions for specific email addresses in Helpdesk auto-response handling
Currently, the Helpdesk plugin automatically ignores emails with headers like Auto-Submitted: auto-generated or other auto-reply headers to prevent looping of automatic messages.
It is described in the article: Auto-generated (auto-submitted) header loop problem
The proposed enhancement:¶
- Add an admin setting or field where a list of email addresses or domains can be specified as exceptions.
- When processing incoming emails, the plugin first checks this list. If an email comes from an address in the list, it is processed even if it contains auto-generated headers.
- This allows flexibility for external systems that generate auto-header emails but still need to be processed.
Benefits:¶
- No need to manually edit the plugin code, making updates and maintenance safer.
- Administrators gain control over which emails are processed through the interface.
- Reduces the risk of looping while allowing important auto-generated emails to be handled.