sunrisepro Posted September 26, 2016 Report Share Posted September 26, 2016 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. Quote Link to comment Share on other sites More sharing options...
0 sunrisepro Posted September 30, 2016 Author Report Share Posted September 30, 2016 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? Quote Link to comment Share on other sites More sharing options...
0 evolvewh Posted September 30, 2016 Report Share Posted September 30, 2016 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? Quote Link to comment Share on other sites More sharing options...
0 sunrisepro Posted September 30, 2016 Author Report Share Posted September 30, 2016 Guess so. Quote Link to comment Share on other sites More sharing options...
0 Michael Posted September 30, 2016 Report Share Posted September 30, 2016 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. Quote Link to comment Share on other sites More sharing options...
0 Paul Posted September 30, 2016 Report Share Posted September 30, 2016 Is it possible to use PHP 5.4? Blesta 4 will require PHP 5.4+, so if they have that version with mailparse it may be better to use it instead. Michael 1 Quote Link to comment Share on other sites More sharing options...
0 sunrisepro Posted October 1, 2016 Author Report Share Posted October 1, 2016 Yes it is, seems like 5.3 is the system default but options include 5.4/5.5/5.6/7. Quote Link to comment Share on other sites More sharing options...
Question
sunrisepro
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.
Link to comment
Share on other sites
31 answers to this question
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.