Overview
The email piping is the name for the technique of sending an email message as an input to a program rather than appending the message to the mailbox file. The email piping is supported for Linux users.
Process
To fetch the emails into your helpdesk using email piping, please consider the below-mentioned troubleshooting steps:
- Make sure that permissions are set to 755 for the
full/path/to/console/index.php
file.
You may check it by running thels -l
command:e.g. [root@server console]# ls -l
total 4 -rwxr-xr-x 1 root root 2384 Dec 22 23:31 index.php - 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 set up the aliasing. A hosting provider may also install 3rd party server management software (e.g. cPanel), which allows configuring of mail forwarding tables. -
There should be no corresponding POP3/IMAP e-mail account for the e-mail address.
-
Check the location of PHP binary on the server.
You may use
#which php
or#which php5
for the 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:-
Edit the
console/index.php
(line 1) and change the location accordingly. - Create a symlink.
e. g. Let the location of PHP binary be
/usr/local/bin/php
, then-
edit
console/index.php
i.e.#!/usr/local/bin/php -q
or -
ln -s /usr/local/bin/php /usr/bin/php
-
-