Start a conversation

Configuring and Troubleshooting Email Piping

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:

  1. Make sure that permissions are set to 755 for the full/path/to/console/index.php file.

    You may check it by running the 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 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.
  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 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:

    1. Edit the console/index.php (line 1) and change the location accordingly.

    2. Create a symlink.

      e. g. Let the location of PHP binary be /usr/local/bin/php, then

      1. edit console/index.php i.e. #!/usr/local/bin/php -q or

      2. ln -s /usr/local/bin/php /usr/bin/php

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments