Yes...another email piping question...

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
rotaryracer
Posts: 18
Joined: Thu Sep 04, 2014 12:02 pm

Yes...another email piping question...

Post by rotaryracer »

Hi guys - I completed the move to our new hosting provider, with a fresh install of HESK 2.6.5 and an import of the original ticket database. All is good and am wrapping up the "fine tuning", but one thing that's giving me a bit of grief is email piping. I've added the forwarder as usual in cPanel, and confirmed the hesk_pipe.php file is set to permissions of 755. Here's the response I get:
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/***/public_html/support/inc/mail/hesk_pipe.php
generated by info@***.com

The following text was generated during the delivery attempt:

------ pipe to |/home/***/public_html/support/inc/mail/hesk_pipe.php
generated by info@***.com ------

Error in argument 1, char 3: option not found
Usage: php [-q] [-h] [-s] [-v] [-i] [-f <file>]
php <file> [args...]
-a Run interactively
-b <address:port>|<port> Bind Path for external FASTCGI Server mode
-C Do not chdir to the script's directory
-c <path>|<file> Look for php.ini file in this directory
-n No php.ini file will be used
-d foo[=bar] Define INI entry foo with value 'bar'
-e Generate extended information for debugger/profiler
-f <file> Parse <file>. Implies `-q'
-h This help
-i PHP information
-l Syntax check only (lint)
-m Show compiled in modules
-q Quiet-mode. Suppress HTTP Header output.
-s Display colour syntax highlighted source.
-v Version number
-w Display source with stripped comments and whitespace.
-z <file> Load Zend extension <file>.
-T <count> Measure execution time of script repeated <count> times.

------ This is a copy of the message, including all the headers. ------
Any thoughts? I don't remember having to use a switch previously, but that seems to be what it's looking for.

Thanks in advance!

Jason
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Yes...another email piping question...

Post by Klemen »

Try my suggestions here:
viewtopic.php?f=13&t=5247
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
rotaryracer
Posts: 18
Joined: Thu Sep 04, 2014 12:02 pm

Re: Yes...another email piping question...

Post by rotaryracer »

Thanks Klemen! I also found a note where you suggested removing the -q in hesk_pipe.php. When I did that, a ticket was created in HESK, although I then got some kind of reply with a bunch of extraneous data (probably what -q suppresses). I put -q back, saved the file, and now it seems to be working. :) I'm not sure what I fixed (more likely I just got lucky), but it seems to be piping as expected. :D

Thank you!

Jason
Post Reply