Jump to content

Email Piping not working following upgrade


MJHost

Recommended Posts

We have just upgraded from 6.0.1 to 6.0.2, and now email piping is failing.

 

There isn't anything showing in the activity log, or ticket mail import log, but clients are receiving the following bounceback:

 

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/mjhost/public_html/crons/pipe.php
generated by [email]billing@domain.co.uk[/email]
local delivery failed

The following text was generated during the delivery attempt:

------ pipe to |/home/mjhost/public_html/crons/pipe.php
generated by [email]billing@domain.co.uk[/email] ------

Could not exec '/home/mjhost/public_html/crons/pipe.php'

Link to comment
Share on other sites

for something like this, i'd be tempted to do two things...

 

1. open a support ticket - if this is a bug, then they'll probably produce a hotfix for this...

2. try the v6.0.1 version of pipe.php and see if that (temporarily) fixes it until you get a response from support.

Link to comment
Share on other sites

for something like this, i'd be tempted to do two things...

 

1. open a support ticket - if this is a bug, then they'll probably produce a hotfix for this...

2. try the v6.0.1 version of pipe.php and see if that (temporarily) fixes it until you get a response from support.

 

Thank you, I will do both.

Link to comment
Share on other sites

check these things:

1) Permissions on pipe.php file should be 755

2) check the path of WHMCS installation under /crons/config.php, try changing it to "$whmcspath = '/home/USERNAME/public_html/';" or add any sub-directories containing WHMCS installation ending with / in this path

Link to comment
Share on other sites

Howdy!

 

check these things:

1) Permissions on pipe.php file should be 755

2) check the path of WHMCS installation under /crons/config.php, try changing it to "$whmcspath = '/home/USERNAME/public_html/';" or add any sub-directories containing WHMCS installation ending with / in this path

 

I did all the above and change the forwarders to reflect the full path instead of just start with /public_html - tickets seem to be importing into WHMCS, the auto responder is working too.

 

I'm not sure which item actually fixed it, but it's working : )

 

Thanks for some direction on this.

Link to comment
Share on other sites

I narrowed it down to two items, it was permissions - 644 made emails bounce and not import into WHMCS, changing it to 755 fixed the problem - the path in config.php in the Crons folder. The path was ../ but that failed, with permissions set to either 644 or 755.

 

The path has to be absolute it appears, so upon upgrade, somehow config.php in the Crons folder has to know where WHMCS is installed, otherwise we'll be having these chats regularly : ) The permissions thing is puzzling, but at least there is a workaround.

 

Anyway, I'll be paying closer attention upon the next upgrade : )

 

Thanks for all your help.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated