I have seen many threads on here with no answers what so ever. A bug with no response.
I added a pipe in cpanel 11 to public_html/support/api/pipe.php (and it doesn't work)
You cannot add /usr/bin/php before it, cpanel will remove it.
I tried creating a relative path ../../usr/bin/php and actually created /home/username/usr/bin/php as a symlink. That did not work either.
Mail seems to be piped to pipe.php but dies at pipe.php.
Here is what is returned:
This message was created automatically by mail delivery software.
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:
pipe to |/home/username/public_html/support/api/pipe.php
generated by user@mydomain.com
local delivery failed
The following text was generated during the delivery attempt:
------ pipe to |/home/amsdico/public_html/support/api/pipe.php
generated by user@mydomain.com ------
X-Powered-By: PHP/5.2.10
Set-Cookie: PHPSESSID=eb83f36bafdd1903e94f3ef7f4d840a8; path=/
Expires: Thu, 19 Nov 1981 08 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-type: text/html
Now this tells me the file is not erroring out:
X-Powered-By: PHP/5.2.10
Set-Cookie: PHPSESSID=eb83f36bafdd1903e94f3ef7f4d840a8; path=/
Expires: Thu, 19 Nov 1981 08 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-type: text/html
...but the messages are not being inserted into the database. Why?
Please advise.
Thanks!