Hi everyone,
I’m trying to set up email forward with pipe to a program option on cPanel. When I send message on created email I get
Mail delivery failed: returning message to sender. What confuses me is that in message i get:
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/lifestyl/public_html/forward.php
generated by zlatko@lifestyl.com
local delivery failed
The following text was generated during the delivery attempt:
------ pipe to |/home/lifestyl/public_html/forward.php
generated by zlatko@lifestyl.com ------
Status: 404 Not Found
X-Powered-By: PHP/5.2.14
Content-type: text/html
No input file specified.
------ This is a copy of the message, including all the headers. ------
code on PHP file loos like this:
#!/usr/bin/php –q
<?php
mail("zlaajaa@gmail.com", "Test", "test");
?>
and based on part of that message to me it looks like path is ok… why is this not working?