| ||||||||||||
![]() |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
(#1)
|
| 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 |
| | |
(#2)
|
(#3)
|
| Developer 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. -------------------------------------------------------------------
|
| | |
![]() |
| Tags |
| piping, postfix |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
| |
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 |