Jul 4, 2016
3
0
1
Canada
cPanel Access Level
Website Owner
Code:
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 |/home/jafforda/public_html/crons/pipe.php
generated by [email protected]

The following text was generated during the delivery attempt:

------ pipe to |/home/jafforda/public_html/crons/pipe.php
generated by [email protected] ------

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20121212/zip.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20121212/zip.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20121212/php_zip.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20121212/php_zip.dll: cannot open shared object file: No such file or directory in Unknown on line 0
Reporting-MTA: dns; alpha.example.ca

Action: failed
Final-Recipient: rfc822;|/home/jafforda/public_html/crons/pipe.php
Status: 5.0.0
How does one fix this issue ? I am trying to pipe emails to WHMCS.

grep '' /etc/redhat-release /usr/local/cpanel/version /var/cpanel/envtype ; grep CPANEL= /etc/cpupdate.conf ; httpd -v ; php -v ; mysql -V
Code:
Last login: Mon Jul  4 09:52:53 2016 from 135.23.170.43
[[email protected] ~]# grep '' /etc/redhat-release /usr/local/cpanel/version /var/cpanel/envtype ; grep CPANEL= /etc/cpupdate.conf ; httpd -v ; php -v ; mysql -V
/etc/redhat-release:CentOS release 6.8 (Final)
/usr/local/cpanel/version:11.56.0.24
/var/cpanel/envtype:standard
CPANEL=release
Server version: Apache/2.4.18 (Unix)
Server built:  Dec 31 2015 16:32:20
Cpanel::Easy::Apache v3.32.8 rev9999
PHP 5.5.30 (cli) (built: Dec 31 2015 16:35:37)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
  with the ionCube PHP Loader v4.7.5, Copyright (c) 2002-2014, by ionCube Ltd.
mysql  Ver 14.14 Distrib 5.6.30, for Linux (x86_64) using  EditLine wrapper
[[email protected] ~]#
 
Last edited by a moderator:

twhiting9275

Well-Known Member
Sep 26, 2002
560
27
178
cPanel Access Level
Root Administrator
Twitter
Does the mail actually get delivered? I know that PHP will return rejection notices if you have errors in the script, but that shouldn't stop the mail itself from being delivered.

Make sure that you remove the invalid extensions from PHP.ini that will clear those errors up
 
Jul 4, 2016
3
0
1
Canada
cPanel Access Level
Website Owner
I have fixed the duplicate extension in the php.ini but I still receive this error.

Code:
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 |/home/jafforda/public_html/crons/pipe.php
generated by [EMAIL][email protected][/EMAIL]
local delivery failed
Reporting-MTA: dns; alpha.example.ca

Action: failed
Final-Recipient: rfc822;|/home/jafforda/public_html/crons/pipe.php
Status: 5.0.0
 
Last edited by a moderator:

twhiting9275

Well-Known Member
Sep 26, 2002
560
27
178
cPanel Access Level
Root Administrator
Twitter
You still didn't answer the question, are the mails getting imported? PHP sometimes does actually deliver/import the message despite sending that reply that it didn't
Take a look in your cron directory for error logs
Make sure ownership is correct (should be user:user)
Make sure permissions are correct (should be user only, no group, no world, aka 700)
If there's an error log in your cron directory, make sure to go through it, or have someone that understands this stuff do it.