I specified multiple Postmaster filters using regex to add a new incoming email to a specific group if the regex matches. I used regex101.com to verify my query, copied the regex to the postmaster filter and prefixed it with “regex:”.
Afterwards I sent an email to the system with the string “<<< note >>>” in the body of the mail.
Expected behavior:
A new incoming email should be automatically added to the specific group as specified in the Postmaster filter.
Actual behavior:
All new emails are added to the default group “uncategorized”. It seems as if the Postmaster filter is not working.
Am I doing something wrong? Am I missing something?
I didn’t find anything in the production.log. How can I troubleshoot this? Where do I have to look?
Ensure that this is not a encoding issue and possibly also have a look into your production.log.
If your instance has changed source code, revert those changes to cross out this.
You may also want to double check if you have another trigger or filter moving the ticket back to the original group. Possibly your tickets history might be of help too.
For more testing purposes I created a docker instance of Zammad V 5.0.x (same as production) and created a Postmaster filter there, too. Same outcome. The group doesn’t change automatically. There must be something I’m missing, right?