You can follow our tutorial below on how to do it, we're using the Blesta location as an example:
cd /home/username/var/domain.com/mail
nano .qmail-emailname
(The emailname is the bit before @domain.com [emailname]@ourdomain.com)
Paste in your code like so:|/usr/bin/php /chroot/home/username/domain.com/html/billing/plugins/support_manager/pipe.php plugin/support_manager/ticket_pipe/index/1/
And all emails sent to emailname@domain.com will now pipe to the program.