jbostoen/itop-jb-mail-to-ticket-automation-v2

Feature: Policy - auto reply headers

Closed this issue · 2 comments

Some e-mail headers exist which allows detecting whether an e-mail was auto generated (out-of-office, mail rule, ...).

This would be similar to the existing policy where organizations can define subject patterns that can be ignored, but it would also make it easier to do this no matter what language is used in the subject.

Furthermore, the "ignore subjects" policy is still relevant as it may be used to filter out other tickets as well.


Source: https://www.jitbit.com/maxblog/18-detecting-outlook-autoreplyout-of-office-emails-and-x-auto-response-suppress-header/

Headers that are safe to use

Through trial and error we've figured out what headers you actually should use to detect auto-responses. Here they are:

  • X-Autoreply
  • X-Autorespond
  • auto-submitted with a value of "auto-replied"

If any of those are present in an email, then that email is an auto-reply

These headers do not seem to be present when you set up a mail rule in Outlook (Outlook.com account) where you automatically respond with a template to an incoming e-mail.