Unfortunately I also don't know much how osTicket does mail routing, only knowledge I have is based on comments from the developers from the forum and github where they describe it sometimes. Maybe @[deleted] or @[deleted]@osTicket.com can help here, since I hadn't had an idea, or you go ahead and open an "issue" over at github and see if there maybe can help.