I modified ost a bit to always close a ticket when an agent has answered.
If a client is ooo and his mail client/service is sending an ooo-notification, tickets re-open.
I tried to set a filter for target channel Emails that stops processing further on match and has the following rules matching criteria (Match Any):
- Ticket / Subject contains "Automatic reply:"
- Ticket /Subject contains "Automatische Antwort:"
I defined 2 actions for this rule:
- Send an Email (Notification about ignored autoresponder mail)
- Set Ticket Status to Closed (just to really ensure it stays closed)
The rule is active. However, it doesn't take effect as tickets still pop open upon autoresponder mails.
What am I doing wrong?
I found ost has a great function isAutoReply($headers) in include/class.filter.php but without digging deeper couldn't figure out how exactly it's being used/working.
I thought it would be awesome to have it's result available in filter rules matching criteria (in Email Meta-Data for example)
Anyone who can point me into the right direction?
Thanks in advance! 🙂