dave_st24 Posted May 14, 2009 Posted May 14, 2009 (edited) Hi Guys, I am trying to generate a script to pipe all mail though a php script. This is so that I can check all mail to see if it is a reply from our ticket system or just someone replying to our noreply@ email address. In the cpanel I have tried using '/[uSER]/public_html/[sCRIPT].php' and '/[uSER]/public_html/cgi-bin/[sCRIPT].php' with the file in both locations but have had no joy with either of them. Am I putting the file location wrong could this be a support issue. I am getting mail delivery errors sent back with: 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 |/[uSER]/public_html/[sCRIPT].php generated by noreply@[DOMAIN] local delivery failed ------ This is a copy of the message, including all the headers. ------ Regards Dave Edited May 14, 2009 by dave_st24 Quote
TCH-Bruce Posted May 14, 2009 Posted May 14, 2009 You are so close. Try this: >/home/[USER]/public_html/[SCRIPT].php Quote
dave_st24 Posted May 14, 2009 Author Posted May 14, 2009 You are so close. Try this: >/home/[USER]/public_html/[SCRIPT].php Thanks for the reply Bruce. Still no joy yet. I will try again later on today incase the server needs time to update. Regards Quote
TCH-Bruce Posted May 14, 2009 Posted May 14, 2009 When you log into cPanel you will see your accounts directory path displayed. It should be /home/cpanel-login. If you placed the script in the public_html folder then the path will be /home/cpanel-login/public_html/script-name.php If you are still having problem please open a ticket with the help desk and they will help you further. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.