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

Originally a fork of Combodo's Mail to Ticket Automation, enriched with some new features. Also contains some bug fixes.
https://jeffreybostoen.be
6 stars 3 forks source link

Feature: Policy - auto reply headers #21

Closed jbostoen closed 1 year ago

jbostoen commented 2 years ago

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:

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

jbostoen commented 2 years ago

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.

jbostoen commented 1 year ago

https://stackoverflow.com/questions/1027395/detecting-outlook-autoreply-out-of-office-emails

Additional hint:

If anything, you can use X-Auto-Response-Suppress the other way around. You can add something like this to your outgoing email to minimize the number of useless emails you get in response:

X-Auto-Response-Suppress:OOF

https://www.arp242.net/autoreply.html https://learn.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxcmail/ced68690-498a-4567-9d14-5c01f974d8b1?redirectedfrom=MSDN

https://community.mimecast.com/s/article/Configuring-Auto-Response-Definitions-and-Policies