Procmail is a very common e-mail filter in the Linux enviroment. It will be probably installed on your system. If not have a look at the procmail homepage.
The X-OTRS-Queue Mail-Header is parsed by OpenTRS and OpenTRS will pipe these e-mails direct in this queue. Procmail and fromail can be used to create a powerfull dispatcher tool.