Jump to content

Question

Posted

I'm having trouble setting up the forwarder in cPanel as nothing seems to work. I tried both

/usr/bin/php /home/username/public_html/blesta/plugins/support_manager/pipe.php
/usr/local/bin/php /home/username/public_html/blesta/plugins/support_manager/pipe.php

Blesta is in a subfolder named 'Blesta'. The error message I get is

Action: failed
Final-Recipient: rfc822;|/home/USERNAME/usr/local/bin/php /home/USERNAME/public_html/blesta/plugins/support_manager/pipe.php
Status: 5.0.0

The path to pipe.php is correct - what else could be wrong? I also checked with my host & confirmed that Mailparse is installed & active.

Recommended Posts

  • 0
Posted

It's working after my host looked into it & provided a fix:

I believe I managed to resolve the issue by changing the pipe email forwarder to the following:

|/usr/local/php53/bin/php-cli /home/username/public_html/blesta/plugins/support_manager/pipe.php

I sent a test email and so far I have not received a bounceback email.

The issue was caused by the fact that the default PHP binary used when the email was piped did not have the mailparse PHP extension. The following PHP binary, however:

/usr/local/php53/bin/php-cli

does have the extension and now the email piping should work.

I don't know how common this issue may be but maybe it's worth noting in your documentation?

  • 0
Posted
8 minutes ago, sunrisepro said:

The issue was caused by the fact that the default PHP binary used when the email was piped did not have the mailparse PHP extension. The following PHP binary, however: /usr/local/php53/bin/php-cli

So it was a mailparse PHP extension issue all along?

  • 0
Posted

I'd swap hosts they are telling you to use PHP 5.3.... Are they living in the dark ages since PHP 7.0 is getting the hit soon and PHP 5.4 is End of Life and 5.5 is closing nearer to EOL too.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...