Federico Posted February 22, 2008 Posted February 22, 2008 Hello, Your cPANEL offers the possibility to forward an e-mail to a script. I'm using this service and it's working fine...but the mails send there bounce with the following legend: pipe to |/home/fpetit/email.php generated by flp@fpetit.heliohost.org local delivery failed ------ This is a copy of the message, including all the headers. ------ As you can see there is no message error. The PHP script executes fine without errors, so I don't have idea why this is happening. Thank you
Ashoat Posted February 23, 2008 Posted February 23, 2008 I'm not quite sure about the functionality of that feature... what I would do is find some forums that deal with such stuff, find out what's going on by asking there, and if you need me to check or change anything just let me know.
Federico Posted February 23, 2008 Author Posted February 23, 2008 I'm not quite sure about the functionality of that feature... what I would do is find some forums that deal with such stuff, find out what's going on by asking there, and if you need me to check or change anything just let me know. I found very little about email piping on the internet. Very few report problems with piping to script, but in those cases there is an error message that usually is related to a configuration in the server. In my case, there's no error message. The e-mail just bounce.
Ashoat Posted February 23, 2008 Posted February 23, 2008 See if there is an "error_log" file in the same directory as your script.
Federico Posted February 23, 2008 Author Posted February 23, 2008 See if there is an "error_log" file in the same directory as your script. None
Ashoat Posted February 24, 2008 Posted February 24, 2008 Try setting the script's CHMOD setting to 777.
Federico Posted February 24, 2008 Author Posted February 24, 2008 Try setting the script's CHMOD setting to 777. What for??. It's actually set to 755
Ashoat Posted February 24, 2008 Posted February 24, 2008 The user executing the script is not a member of your group. Just set it to 777, and give me the URL. Don't worry; with open_basedir and suPHP it's not much of a security risk to set permissions to 777.
Federico Posted February 25, 2008 Author Posted February 25, 2008 The user executing the script is not a member of your group. Just set it to 777, and give me the URL. Don't worry; with open_basedir and suPHP it's not much of a security risk to set permissions to 777. The e-mail keeps bouncing
Federico Posted February 27, 2008 Author Posted February 27, 2008 Just set it to 777, and give me the URL. Which URL?
Federico Posted February 28, 2008 Author Posted February 28, 2008 cPANEL shows: Address Forward To Functions flp@fpetit.heliohost.org to |/home/fpetit/email.php Trace Delete Add Forwarder
Ashoat Posted March 1, 2008 Posted March 1, 2008 Hmm? If the script is not in your DocRoot (public_HTML/www), then how were you able to test it to confirm that it works properly?
Federico Posted March 2, 2008 Author Posted March 2, 2008 Hmm? If the script is not in your DocRoot (public_HTML/www), then how were you able to test it to confirm that it works properly? The script captures the email and sends it to an SMS gateway to my cellphone. I'm receiving the emails in my phone, so the script and the piping is working. What it's senseless is the bouncing with NO error message.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now