Start a conversation

Configuring and troubleshooting email piping

We're actively rewriting our user guide, so check back for improved coverage.

The email piping is the name for the technique of sending email message as an input to a program rather than appending the message to the mailbox file. The emal piping is supported for Linux users. To fetch the emails into your helpdesk using email piping, below mentioned troubleshooting steps need to be considered: 

1) Make sure that permissions are set to 755 for full/path/to/console/index.php file. 
You may check it by running ls -l command: 
 e.g. [root@server console]# ls -l
total 4 -rwxr-xr-x 1 root root 2384 Dec 22 23:31 index.php 

2) Check the type of MTA (Mail Transfer Agent) being used on the server and set the forwarders accordingly. 
You may check it by running: 
#ps aux | grep 'sendmail\|exim\|postfix\|qmail' 

Here, the sendmail, exim, postfix and qmail are most popular used on different Linux platforms. Every MTA has its own rules and procedures to setup the aliasing. A hosting provider may also install 3rd party server management software (e.g. cPanel), which allows configuring of mail forwarding tables.

3) There should be no corresponding POP3/IMAP e-mail account for the e-mail address. 

4) Check the location of PHP binary on the server. 
You may use #which php or #which php5 for same. 
The console/index.php looks /usr/bin/php for the PHP binary, however, the location may vary depending on the server configuration. You may troubleshoot the issue by implementing any one of the following: 
a) Edit the console/index.php (line 1) and change the location accordingly
b) Create a symlink 

e.g. Let the location of php binary be /usr/local/bin/php, then 
a) edit console/index.php i.e. #!/usr/local/bin/php -q or
b) ln -s /usr/local/bin/php /usr/bin/php

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Jitender Kumar

  2. Posted
  3. Updated