Jump to content

e-mail piping


Federico

Recommended Posts

Well, I really don't know about the bouncing. I would set up a filter rule in your email to just delete those bounce messages. I mean, if the script's working, bounce messages aren't a big price to pay.

Link to comment
Share on other sites

Your piping is not working because according to your forwarding command it looks like its not using the php app.

 

flp@fpetit.heliohost.org to |/home/fpetit/email.php

 

Go to Cpanel >> Mail >> Forwarders

 

Delete the forwarder you set for flp@fpetit.heliohost.org, and re-add with the following command:

 

| php -q /home/fpetit/email.php

 

Also make sure email.php is set with 755 at least. If the server is using suPhp then do not set the permission 777, it will generate 500 error.

 

Hope this should solve your problem :)

Link to comment
Share on other sites

Your piping is not working because according to your forwarding command it looks like its not using the php app.

 

 

Hope this should solve your problem :)

 

 

As I had told in the original post, the forwarding to the script IS working. The only problem is the nonsense bouncing e-mail.

Link to comment
Share on other sites

Yes, forwarding is working, but piping is not working :) Thats why its bouncing the mail back. Primary reason of not having the pipe worked is, php is not being recognised by the pipe. Usually my advise solve most of the pipe mail bounce problem, if it doesn't, then permission can be another reason. Sometimes you may need to replace php command with the original php binary, like /usr/bin/php

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...