Hi Quick update
We are one stage further see below;
My name is ? and I am a Web Advisor II here at HostGator. I have reviewed your case 19778708 regarding osTicket on the cPanel of btssn.co.uk.
First and foremost, I would like to apologize for any inconvenience that this issue may have caused you and your business. Secondly, I would like to apologize for the delay in our response time, the ticket queue has been higher than usual and has caused some delays. I did some investigating and I found that updating the PHP version the forwarder/piping is using resolved the issue.
I tested the current pipe that is set up and received the same error:
btssn@btssn.co.uk []# test | /home/btssn/public_html/ticket/api/pipe.php
Failed loading /opt/ioncube/ioncube_loader_lin_5.6.so: /opt/ioncube/ioncube_loader_lin_5.6.so: undefined symbol: zend_execute_ex
Failed loading /opt/php56/lib/php/extensions/no-debug-non-zts-20131226/ZendGuardLoader.so: /opt/php56/lib/php/extensions/no-debug-non-zts-20131226/ZendGuardLoader.so: undefined symbol: zend_execute_ex
I created a new pipe added '/opt/php71/bin/php' at the beginning of it to force it to use PHP 7.1, once this was done, it was different results:
btssn@btssn.co.uk []# test | /opt/php71/bin/php /home/btssn/public_html/ticket/api/pipe.php
(400) Email parse failed []
(400) Unable to create new ticket: validation errors:
user: Incomplete client information
5: Issue Summary is a required field
6: Issue Details is a required field
(416) Request failed - retry again!
The error that it received with PHP 7.1 is only due to missing information and not PHP related. It looks like this may work.
I left the forwarder/pipe you had there since I did not want to remove it without your approval. If you are able to confirm that the forwarder I created now works, then please remove the forwarder you had setup.
So the email piping is working now however i am still getting Mail delivery failed: returning message to sender message even though message has been added to osticket
Here is my reply below to hostgator below:
Hi J?,
Many thanks for your help and support in resolving issue, although you have managed to fix email piping issue and messages are being added to osticket now, i am still receiving an error email even though email piping has worked correctly and i have deleted old forwarder.
Here is error email below:
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 |/opt/php71/bin/php /home/btssn/public_html/ticket/api/pipe.php
generated by ???@btssn.co.uk
The following text was generated during the delivery attempt:
------ pipe to |/opt/php71/bin/php /home/btssn/public_html/ticket/api/pipe.php
generated by ???@btssn.co.uk ------
Reporting-MTA: dns; merkur.websitewelcome.com
Action: failed
Final-Recipient: rfc822;|/opt/php71/bin/php /home/btssn/public_html/ticket/api/pipe.php
Status: 5.0.0
I am aware of this link here
https://docs.osticket.com/en/v1.14.1/Getting%20Started/Email%20Piping.html
Where it mentions to update php,ini and exim.conf
Hope this helps and we can finally resolve issue although we are 90% there