You can not use osTicket to set up mail rules. It will pull emails from an inbox, create a ticket for them in your ticket system, and then move the email to a folder, but you can not choose one folder for this, and another folder for that. You should look into mail rules in your email client for that functionality.