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
Quark Offline
New Member
 
Quark's Avatar
 
Posts: 4
Join Date: Aug 2008
Location: Do Unto Others...
Thumbs up Email piping and Postfix - A workaround/solution - 13-08-2008, 10:52 PM

I wanted to post this here for others that may run into the same frustration as I did.

My setup:
CentOS 5.2, Postfix v2.3.3, SupportSuite 3.20.02

My symptoms:
Postfix would error out on a pipe attempt as follows:

Quote:
status=deferred (temporary failure. Command output: local: fatal: execvp /home/support/public_html/cli/index.php: Permission denied )
I also tried using php -q and /full/path/to/php -q and they threw errors:

Quote:
Command output: Could not open input file: /home/support/public_html/cli/index.php )
I checked permissions on the cli/index.php file as per the documentation and they were correct. I was able to determine that by default Postfix executes pipe commands as nobody so that piping would fail. Since this is a dedicated box, I changed the default_privs (default rights of the local delivery agent) to an actual system user, in my case I used support.

This is a workaround so I could get it working, the more correct result, I believe, would be to hunt through the Postfix configurations and set a valid recipient user context instead. For now -- since I wanted to get things up and running and since this is a dedicated purpose box for SupportSuite, I wasn't terribly worried about this.

Again -- so that others searching for a solution might find this, I felt it was best to post this to the forum in the hope that others might find this

Cheers!
   
Reply With Quote
  (#2) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,445
Join Date: Jan 2006
Location: United Kingdom
13-08-2008, 10:56 PM

Hi Quark,

Thank you for taking the time to post this


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
Reply

Tags
piping, postfix, workaround or solution

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
Email piping on Windows v0lc4n0 E-mail Piping Issues 17 19-09-2008 07:44 AM
Postfix piping error noah.dionne E-mail Piping Issues 2 21-07-2008 08:46 PM
piping not working after upgrading AlternateImage Installation & Upgrading 3 04-09-2007 03:23 PM
Piping and Postfix ATimson E-mail Piping Issues 2 10-07-2007 06:59 AM



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 47