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
thernes Offline
New Member
 
Posts: 5
Join Date: Nov 2005
Sorry to say, but yet another piping issue... - 20-08-2006, 11:35 PM

Well, I'll finally have to join in on all the people who have piping issues.

I've set up esupport and piping on one server, thought cpanel, and everything worked flawless. Now, I've got another cpanel server I need to set it up on, and I just can't get it to work.

The server is running centos 4.2 (final) I've uploaded the cli/index.php in ASCII and chmod 755 is performed. I've added a forwarder in cpanel,

|/home/domain/www/support/cli/index.php

Also checked the shebang line in the script and that's ok. The ques are set up in esupport with all the coorect options.

(I have also tried adding a forwarder manually in /etc/valiases/, but no luck with that ether)

When I send mail to support@domain.com, it is accepted and it does not get returned with any error-messages. I've also checked the esupport mail parser log, but it is empty. The same thing goes if I set up the cli in debug mode (index.php --debug). No debug messages show up in the cache folder

I've also tried the solution posted by varun here;
cPanel/Exim Piping Issues - Resolution
and several other solutuons posted here and still no luck

Doing a tail (tail -f /var/log/exim_mainlog |grep support@domain) on the e-mail gives me this result;

Quote:
2006-08-21 00:22:36 1GEvgi-0007Pw-CS => support <support@domain.com> R=virtual_user T=virtual_userdelivery
2006-08-21 00:22:37 1GEvgi-0007Pw-CS => |/home/domain/www/support/cli/index.php (support@domain.com) <support@domain.com> R=virtual_aliases_nostar T=virtual_address_pipe
if I do the same thing on the server where the piping works, I get this result;

Quote:
2006-08-21 00:25:25 1GEvjR-0000QY-UI <= support@domain.com U=user P=local S=1194 id=j4biad.y5mc0p@localhost
2006-08-21 00:25:26 1GEvjN-0000Ps-EG => |/home/user/www/support/cli/index.php (support@domain.com) <support@domain.com> R=virtual_aliases_nostar T=virtual_address_pipe

Been searching the forums and been trying out different solutions, but no soup for me so far....
I'm running out of ideas here so any input will be highly appreciated.

Edit to add: esupport is installed on support.domain.com

Last edited by thernes; 20-08-2006 at 11:53 PM.
   
Reply With Quote
  (#2) Old
Digital Mayhem Offline
Community Moderator
 
Digital Mayhem's Avatar
 
Posts: 887
Join Date: May 2005
Location: Henderson, Nevada
21-08-2006, 01:36 AM

wanna try forwarding too |/home/user/public_html/support/cli/index.php


Steve
Digital Mayhem, Inc.
AIM: Steve.Lawrence@Digital-Mayhem.com
MSN: Steve.Lawrence@Digital-Mayhem.com
GTALK: Steve.Lawrence@Digital-Mayhem.com
YAHOO: DigitalMayhem_Steve
SKYPE: DigitalMayhem_Steve

I'm Important
Posting & You
   
Reply With Quote
  (#3) Old
thernes Offline
New Member
 
Posts: 5
Join Date: Nov 2005
21-08-2006, 08:29 AM

I have already tried changing the path (forgot to mention that in the post above), without any luck

I've also just set up a small test-script inside the cli-folder;

test.php
Quote:
#!/usr/local/bin/php -q
<?
mail('mymail@mydomain.com', 'test subject', 'test message');
?>
then set up the same forwarder, |/home/user/www/support/cli/test.php

When I set up a pipe to this script, I get the test message without any problems.

Last edited by thernes; 21-08-2006 at 08:35 AM.
   
Reply With Quote
  (#4) Old
Varun Shoor Offline
Chief Executive Officer
 
Varun Shoor's Avatar
 
Posts: 2,829
Join Date: May 2003
22-08-2006, 11:55 AM

What happens when you try to run cli/index.php from your prompt? Do you get a blinking cursor waiting for user input or..?

Regards,

Varun Shoor


Varun Shoor (varun.shoor ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#5) Old
thernes Offline
New Member
 
Posts: 5
Join Date: Nov 2005
23-08-2006, 10:13 AM

Well, nothing happens when I do this. It executes without any errors or anything, but that's about it.
   
Reply With Quote
  (#6) Old
masta Offline
New Member
 
Posts: 8
Join Date: Oct 2006
Post 02-10-2006, 11:33 PM

Hello,

Have the same problem:
CentOS release 4.4 (Final)
PHP 4.4.4
Zend Optimizer v3.0.1
Apache/1.3.37

Code:
<= masta@domain.com H=(domain.com) [11.11.11.11] P=esmtps X=TLSv1:AES256-SHA:256 S=1221 id=455628872.70321808@domain.com
=> |/home/user/public_html/support/cli/index.php (support@user.com) <support@user.com> R=virtual_aliases_nostar T=virtual_address_pipe
Completed
Also:
Code:
root@server [/home/user/public_html/support/cli]# ./index.php
root@server [/home/user/public_html/support/cli]# ./index.php --debug
root@server [/home/user/public_html/support/cli]# ./index.php -h
====================
SWIFT CLI Debug
====================


(1) Exit

Please Type your Choice: 1
And in cli/index.php
Code:
#!/usr/bin/php -q

root@server [/home/user/public_html/support/cli]#  ls -la /usr/bin/php
-rwxr-xr-x  1 root root 8885267 Oct  2 15:32 /usr/bin/php*
kayako admin panel -> parser log, is empty.

Please, guys help me...
Try all I know.

Thank You!
   
Reply With Quote
  (#7) Old
Varun Shoor Offline
Chief Executive Officer
 
Varun Shoor's Avatar
 
Posts: 2,829
Join Date: May 2003
03-10-2006, 10:51 AM

Is it just me or I do not see any information regarding Zend Optimize or ionCube in your build?

I would recommend creating a support ticket and linking us to your phpinfo.html file (Check http://manual.kayako.net > Parser section).

Regards,

Varun Shoor


Varun Shoor (varun.shoor ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#8) Old
masta Offline
New Member
 
Posts: 8
Join Date: Oct 2006
03-10-2006, 11:32 AM

root@server [~]# php -v
PHP 4.4.4 (cli) (built: Oct 2 2006 15:27:43)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with Zend Extension Manager v1.0.10, Copyright (c) 2003-2006, by Zend Technologies
with Zend Optimizer v3.0.1, Copyright (c) 1998-2006, by Zend Technologies
   
Reply With Quote
  (#9) Old
masta Offline
New Member
 
Posts: 8
Join Date: Oct 2006
03-10-2006, 11:36 AM

Zend Optimizer
Optimization Pass 1 enabled
Optimization Pass 2 enabled
Optimization Pass 3 enabled
Optimization Pass 4 enabled
Optimization Pass 9 enabled
Zend Loader enabled
   
Reply With Quote
  (#10) Old
masta Offline
New Member
 
Posts: 8
Join Date: Oct 2006
04-10-2006, 11:20 AM

I've change to POP3.
Think it's better then it's broken pipe mail
   
Reply With Quote
  (#11) Old
iCARus Offline
New Member
 
Posts: 4
Join Date: Feb 2004
09-10-2006, 06:37 PM

Masta, are you sure you didn't move domain (on which is Kayako) from other server and you maybe forgot terminate it (on first)?

We had simila problem with piping.

Our scenario:

We redirect all domain.com -> domain.info (piping)

server1
domain.com
domain.info (after some time we moved this domain to server2 and forgot that account is still in WHM)

server2
domain.info

Even that DNS's show all Ip's to new server, on server1 those redirect failed. We dont know why and after termination on server1 (don't forget to keep DNS's if you have servers in DNS cluster) everything start working.

I hope you understand

Regards.
   
Reply With Quote
  (#12) Old
masta Offline
New Member
 
Posts: 8
Join Date: Oct 2006
09-10-2006, 07:09 PM

iCARus, thx for ur help.
But it's alright with dns on this server.
I've recheck it.
   
Reply With Quote
  (#13) Old
bradycreel Offline
New Member
 
Posts: 12
Join Date: Oct 2005
Exclamation 10-10-2006, 06:32 AM

Varun --

This works for me, too. My machine is running Mailman as well, and it pipes without a problem.

Quote:
#!/usr/local/bin/php -q
<?
mail('mymail@mydomain.com', 'test subject', 'test message');
?>
But when I pipe to /cli/index.php, I get this error:

Quote:
Oct 10 00:28:03 centurion postfix/smtp[566]: EFEA4208133: to=<support@mydomain.com>, relay=127.0.0.1[127.0.0.1], delay=1, status=sent (250 2.6.0 Ok, id=00559-07, from MTA: 250 Ok: queued as 7020A208144)
Oct 10 00:28:03 centurion postfix/qmgr[73]: EFEA4208133: removed
Oct 10 00:28:03 centurion postfix/local[544]: 7020A208144: to=<support@mydomain.com>, relay=local, delay=0, status=deferred (Command died with signal 5: "/library/webserver/support/cli/index.php". Command output: dyld: NSLinkModule() error dyld: Symbol not found: _compiler_globals Referenced from: .//../../../../Library/WebServer/support/ioncube/ioncube_loader_dar_4.4.so Expected in: flat namespace )
I've submitted a support ticket and haven't gotten anywhere.
   
Reply With Quote
  (#14) Old
Jen Offline
New Member
 
Posts: 20
Join Date: Oct 2006
11-10-2006, 08:51 AM

thernes: my server is running CentOS and same what you did set up. I'm using cron, it is working besides piping.

bradycreel: Look at your error NSLinkModule() error dyld: Symbol not found: _compiler_globals Referenced from: .//../../../../Library/WebServer/support/ioncube/ioncube_loader_dar_4.4.so Expected in: flat namespace ) Is it latest ioncube? If your piping doesn't work, I suggest you use pop3 or imap.

Last edited by Jen; 11-10-2006 at 08:55 AM.
   
Reply With Quote
  (#15) Old
bradycreel Offline
New Member
 
Posts: 12
Join Date: Oct 2005
11-10-2006, 08:55 PM

I'm using IMAP piping at the moment, but I'd much prefer to run piping because it is cleaner. I'm on OS X Server, which doesn't come with native IMAP support in PHP. Thus I'm having to run a new compiled verison of PHP that makes some of my other software behave oddly.

I just wish Kayako would address this issue. They still haven't answered my trouble ticket.
   
Reply With Quote
Reply

Tags
piping

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
cPanel piping issue Adrian E-mail Piping Issues 0 17-04-2006 06:28 PM
Another Piping Issue - Debugging via shell using -h states [ERROR] on Zend Opt? internut33 E-mail Piping Issues 9 06-03-2006 12:12 PM
Cpanel Piping Issue Teamdoc E-mail Piping Issues 53 02-02-2006 03:43 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 47