I receive all mails from only 1 inbox - support@company.com .
However on my mail server I have set aliases to each department of the company so if I send an email to support@department1.com the raw headers of the email received will look like this:
Delivered-To: support@company.com
To: support@department1.company.com
What I am trying to do is to configure a rule for each department:
if 'To' CONTAINS @department1.company.com ----> ASSIGN TO Department1
Unfortunately this doesnt work.... All of my configured departments have a parrent department named "Support"
All the tickets get assigned to Support department rather than the department from the To: header of the email. I will attach some screenshots and a screenshot with System Information.