Frequently Asked Questions

How can I set Email Piping in JooTicket/spTicket?

Email Piping
The email piping is a technique of sending email message as an input to a program rather than appending the message to the mailbox file, allowing for real-time email delivery and handling. Every mail server has its own rules and procedures for mail delivery, making it hard to provide common instructions for configuring an MTA. You should refer to your hosting manual or contact your hosting provider for email piping instructions if none of the methods below works for you.

  • osTicket supports both remote and local piping
  • Email piping must be enabled in admin panel

Local Piping

Local piping refers to the case where osTicket is installed on a server also handling your emails. Most shared hosting users fall into this category.

Setting up aliases in cPanel

Add a forwarding rule for each of the email addresses to /path/to/api/pipe.php.
For example forward support@domain.com to "|/path/to/api/pipe.php"
CPANEL X Instructions
CPANEL -> Email -> Forwarders -> Add Forwarder
1. Address to a forwarder: <EMAIL>@domain 2. Advanced Options -> Pipe to a Program: "public_html/components/com_osticket/api/pipe.php"<br/> 3. Click 'Add Forwarder' button When complete you will see:
<EMAIL>@domain to |/home/<USERNAME>/public_html/components/com_osticket/api/pipe.php


  • assumption is you installed JooTicket in /home/USERNAME/public_html/
  • Pipe to a Program path: if you have a leading '/' cPanel will use the path you enter, if you do not have '/' cPanel will create it relative to your home directory
  • pipe.php should have hashbang at the top of the file: #!/usr/local/bin/php -q (or #!/usr/bin/php -q)
  • Make pipe.php executable chmod 755 pipe.php
  • Enable email piping in admin panel Settings -> preference
  • If it is still not working then run following command in command prompt: dos2unix pipe.php

Please Wait!

Please wait... it will take a second!

Powered By JooCart
softPHP © 2010-2022