Eiltesir
Exactly that, create an inbox rule to move the out of office emails out of the inbox or configured fetch folder.
Otherwise, in osTicket, you can create a Ticket Filter to match on whatever criteria and set the action to reject ticket.
Cheers.