title: Email piping not working for PHP script. Local delivery failed error
body: <p>In cPanel I have piped the following to my script:</p>
  
  <pre><code>alerts@XXX.com  to  |/home/XXX/public_html/client/inc/msg/mailReader.php
  </code></pre>
  
  <p>I get the following email returned:</p>
  
  <blockquote>
    <p>This message was created automatically by mail delivery software.</p>
    
    <p>A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es)
    failed:</p>
    
    <p>pipe to |/home/XXX/public_html/client/inc/msg/mailReader.php
        generated by alerts@XXX.com
        local delivery failed</p>
  </blockquote>
  
  <p>The path to mailReader.php is definitely correct, as well as the path to PHP in the shebang in mailReader.php.
  Line 1 is:</p>
  
  <pre><code>#!/usr/local/lib/php -q&lt;?php
  </code></pre>
  
  <p>Do you have any idea why it would return the "local delivery failed" error?</p>