Kayako logo
E-mail Piping Issues E-mail piping issues and related configuration questions are posted here,

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  (#1) Old
noah.dionne Offline
New Member
 
Posts: 2
Join Date: May 2008
Postfix piping error - 16-05-2008, 02:34 PM

Hello all, I have just setup a new helpdesk system using support suite 3.20.02 on a Ubuntu 7.10 Lamp server. I have setup Imap fetching but have found it not responsive enough for our customers needs. I have tried to setup piping through Postfix but am now getting the following errors:

1) I get this bounce back from the server:

Reporting-MTA: dns; helpdesk.delorme.com
X-Postfix-Queue-ID: 55FEC338314
X-Postfix-Sender: rfc822; Noah@delorme.com
Arrival-Date: Fri, 16 May 2008 10:05:00 -0400 (EDT)

Final-Recipient: rfc822; helpdesk@helpdesk.delorme.com
Original-Recipient: rfc822;helpdesk@helpdesk.delorme.com
Action: failed
Status: 5.3.0
Diagnostic-Code: x-unix; sh: php: not found


2) Then in the bounce back email is this:

This is the mail system at host helpdesk.delorme.com.

I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can delete your own text from the attached returned message.

The mail system

<helpdesk@helpdesk.delorme.com>: Command died with status 127: "php
-q/var/www/cli/index.php". Command output: sh: php: not found


Now I have gone through all the forum posts I can find and have not found anything specific to these issues. My Aliases file is as follows:

helpdesk:"| php -q /var/www/cli/index.php"

If I set it as helpdesk@helpdesk.delorme.com:... I get an error from Postfix that only local accounts are useable.

If I remove the php -q I do not get any bounce back at all but these are the errors in the Mail log:

May 16 10:21:41 helpdesk local[4948]: fatal: execvp /var/www/cli/index.php: No such file or directory
May 16 10:21:41 helpdesk postfix/local[4947]: 3465C338314: to=<helpdesk@helpdesk.delorme.com>, relay=local, delay=0.05, delays=0.01/0.01/0/0.03, dsn=4.3.0, status=deferred (temporary failure. Command output: local: fatal: execvp /var/www/cli/index.php: No such file or directory )I have verified that the index.php is chmodded to 755 and I have also tried it as 777. I have re-copied the /cli/index.php from the original install package from Kayako. I have opened up that index.php in Pico(text editor) and it is in plain text but I am not skilled enough with PHP to know exactly what it is doing.


Seperately from all this I am able to send and receive mail on the machine using postfix for any account I would like. It is just once the forwarding is setup and calling that index.php that things go sounth...

Thank you for any assistance.
Noah
   
Reply With Quote
  (#2) Old
ziggyk Offline
New Member
 
Posts: 1
Join Date: Jul 2008
Exclamation Having same problem - 21-07-2008, 03:42 AM

I am currently having this same problem, what was your resolution if any?
   
Reply With Quote
  (#3) Old
John Haugeland Offline
Developer
 
John Haugeland's Avatar
 
Posts: 537
Join Date: Dec 2007
Location: Idaho
21-07-2008, 07:46 PM

This is because your shell is not properly set up to automatically interpret PHP files, or because the hash line at the beginning of the script has the path incorrect (the latter is far more likely).

Please contact your ISP to find the correct path to PHP for your server and update said path as appropriate.


John Haugeland (john.haugeland ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
Reply

Tags
piping, postfix

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fatal Error on piping attachments logicway E-mail Piping Issues 12 27-06-2008 10:04 AM
PHP Error, and Piping Questions Logan Harbour E-mail Piping Issues 9 14-07-2007 09:23 PM
Piping and Postfix ATimson E-mail Piping Issues 2 10-07-2007 05:59 AM
unexpected error nadia LiveResponse Desktop Application 3 21-06-2007 05:04 PM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46