Jump to content

Pipe/Tickets Problem :(


pogiii

Recommended Posts

Hi guys

 

I get the "local delivery failed" email everytime an email gets forwarded to whmcs (tickets)

 

The script has been working for me for over 7 months already, and this just suddenly happend out of nowhere!!!???!!

 

Ive been talking with the whmcs support team and my host's support team

 

Im really caught in the middle here

 

 

WHMCS told me:

The forwarder setup is correct. The exact same setup is used on many users servers without issue.

 

The only variant is the server, so this is something that would need to be checked.

 

 

I had the whmcs take a look and they couldnt find anything

 

 

 

 

Host told me:

It looks like your path at the top of that php file is #!/usr/local/bin/php. I am not sure when it changed but that path no longer exists. I would suggest updating that path to a current php location and see if that fixes the problem. Some options would be:

 

/usr/bin/php

/usr/bin/php-cli

/usr/bin/php-cli.orig

/usr/bin/php-config

/usr/bin/php.orig

/usr/bin/php53s

/usr/bin/php5s

 

 

 

I think my host is talking about the hash at the top of the pipe.php

Well it has always been like that.

 

 

 

 

I received the security patch email the other day, and uploaded it to the whmcs

 

Everything was fine, but this is also the last time i got ay tickets (from emails)

 

Could this be coincidence?

 

 

 

Just wondering if you had an experience like this before and what did you do?

 

 

Ive tried both codes in the documentation for "local delivery failed" emails, Ive tried what support have suggested as well. It just wont work :(

 

 

Host is hostmonster

 

 

Any help would be greatly appreciated.

 

Thanks guys

Link to comment
Share on other sites

Hostmonster. Same boat here. Nothing works. Everything suddenly not working at all this includes the ionCube cron job as well as the email forwarding piping.

 

This must be hostmonster I think? I contacted hostmonster about ionLoader and they said they fixed it but apparently did not. I tried to run the cron.php but it still asking for ionLoader.

Link to comment
Share on other sites

  • 1 month later...

Update...

 

The issue must be with the WHMCS pipe.php script as it keeps returning 255 even though it works...

 

I wrote a simple shell script wrapper that returns 0 exit code and it all works fine.........

 

Filename: pipe_wrapper.sh

#!/bin/bash

 

php -q /path/to/pipe.php

 

exit 0

[/code]

 

Then edit your .forward file to use the new pipe_wrapper.sh

Link to comment
Share on other sites

If "everything worked" and it still returned a non zero exit code, the WHMCS system would still be getting the emails. The message may bounce back, but the emails would still be entered into the ticket system. If this isnt happening, something else is wrong.

 

My guess is, your host moved php to another location, didn't tell you. My suggestion would be to change the pipe to pass to the real php binary.

 

| /usr/bin/php -q /path/to/pipe.php

Link to comment
Share on other sites

I am having the same issue:

 

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/mydir/public_html/mydir/pipe/pipe.php

generated by terri@myaddress.net

local delivery failed

 

This is driving me crazy, but it started happening a few days ago and I didn't realize it until this morning (I don't get a lot of support requests so thought nothing of not seeing any new tickets for a few days). But from what I can tell, new tickets were submitted and I have not gotten any of them since my WHMCS upgrade last week.

 

I don't know which direction to go... the company I get my server from will tell me its a WHMCS issue, and WHMCS says the piping has not changed. Well, SOMETHING changed the day my WHMCS was upgraded, and if cpanel changed that same day it would be an interesting coincidence though I have my whm set NOT to update my cpanel automatically....

 

I need this corrected asap, I can't take this circle of stress.

Link to comment
Share on other sites

read what I wrote, apply it, see if it works.

 

THANK YOU, THANK YOU!!!!

I tried it on the test I set up and yes, it did work. I can't thank you enough!!! Going to apply it to my non-test addresses now and do one more check. You have no idea how much stress you just relieved me of.

 

:D

Terri

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