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
olimits7 Offline
New Member
 
Posts: 25
Join Date: Sep 2006
Question cPanel Piping Not Working?? - 18-09-2006, 06:43 AM

Hello,

I have a domain called "domain.com" which is the domain that I want to forward the emails to SupportSuite which is on a different domain/server called "domainhelpdesk.com".

I setup the forwarding on my "domain.com" cPanel account to point sales@domain.com to "|/home/username/public_html/supportsuite/cli/index.php". And I changed the permissions of the "/cli/index.php" file to 755.

However, I still get the following error "local delivery failed". I was going to try to do what the following post says, but I don't have a "vfilters" folder under my "etc" folder so I don't know what I should do.

cPanel/Exim Piping Issues - Resolution

Can somebody please help me find a solution to this??

Thank you,

olimits7
   
Reply With Quote
  (#2) Old
olimits7 Offline
New Member
 
Posts: 25
Join Date: Sep 2006
18-09-2006, 03:25 PM

Does anybody have any suggestion on what I can do, since I don't seem to have a "vfilters" folder??

Thanks,

olimits7
   
Reply With Quote
  (#3) Old
bear Online
Community Moderator
 
Posts: 701
Join Date: Jan 2005
18-09-2006, 03:30 PM

Have you created a forward for sales@domain.com to go to whatever_alias_you_want@supportdomain.com?

The pipe can only work on the installed domain, so if the helpdesk is on a different server than "domain.com", you can't pipe to it directly to the script using "anything@domain.com" until mail goes to the server it's installed on...

...or do I have your situation wrong?

No vfilters folder? That's odd. What happens when you issue this via root SSH?
cd /etc/vfilters

Last edited by bear; 18-09-2006 at 03:33 PM.
   
Reply With Quote
  (#4) Old
olimits7 Offline
New Member
 
Posts: 25
Join Date: Sep 2006
Question 18-09-2006, 03:49 PM

Hello,

Thank you for your reply.

Yes, you have my situation correct. So first I would have to pipe to my other domain (supportdomain.com). Then on supportdomain.com I would have to pipe it to "/cli/inex.php", right? I will give that a try and let you know if it works. Do you think I should set up this double piping way or just use the POP3 method??

No for security reasons my hosting package doesn't give me access to SSH. See below. However, do you know of another way I can access the root?? The reason I said I didn't see the "vfilter" folder is because when I FTP to my website I didn't see it in the "etc" folder, but I don't know if this is the right way. I'm not that experienced in using SSH.

1. Do you support ssh / telnet access?
- NO. Although the c-panel has an ssh/telnet section, it is disabled on all of our servers for security reasons.

Thank you, again.

olimits7
   
Reply With Quote
  (#5) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,852
Join Date: Aug 2006
Location: Mumbai, India
18-09-2006, 03:52 PM

If you pipe email@supportdomain.com, does it work or it gives you a local delivery failed error?



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#6) Old
bear Online
Community Moderator
 
Posts: 701
Join Date: Jan 2005
18-09-2006, 04:34 PM

Quote:
Originally Posted by olimits7
Yes, you have my situation correct. So first I would have to pipe to my other domain (supportdomain.com). Then on supportdomain.com I would have to pipe it to "/cli/inex.php", right?
Easiest way is to just send it directly to 'supportdomain' and on that account pipe it to the script. Alternately, forward the mail to supportdomain and pipe from there.

Quote:
The reason I said I didn't see the "vfilter" folder is because when I FTP to my website I didn't see it in the "etc" folder, but I don't know if this is the right way. I'm not that experienced in using SSH.
Cpanel's /etc folder is not in your directory typically. The slash (/etc) in front represents starting from root, go to this folder. Your account likely exists in /home/user/, another folder (directory) within the root "branch" and not able to traverse down to root from there.

Last edited by bear; 18-09-2006 at 04:38 PM.
   
Reply With Quote
  (#7) Old
olimits7 Offline
New Member
 
Posts: 25
Join Date: Sep 2006
18-09-2006, 05:40 PM

Hi,

Ok in my cPanel for "domain.com" I setup a forward to "sales@supportdomain.com" and in my cPanel for "supportdomain.com" I setup a forward to "|/home/username/public_html/supportsuite/cli/index.php".

Now when I tried to send an email to "sales@domain.com" I didn't receive any return message error, but I don't see any emails coming into SupportSuite. Is there anyway I can see where these emails are heading or any errors that will show me what's going on??

Thank you, again.

olimits7
   
Reply With Quote
  (#8) Old
bear Online
Community Moderator
 
Posts: 701
Join Date: Jan 2005
18-09-2006, 05:48 PM

This probably means you don't have anything in Kayako to "catch" the email yet. In the admin area, have you set up a mail parser "queue" to do something with the incoming ticket/email?
   
Reply With Quote
  (#9) Old
olimits7 Offline
New Member
 
Posts: 25
Join Date: Sep 2006
18-09-2006, 05:51 PM

Yes, I did setup the mail parser "queue" to catch the incoming email. It works with POP3, but I would rather use Piping instead.

Is there anything I can do to check if the "cli/index.php" file is working properly??

Thank you,

olimits7
   
Reply With Quote
  (#10) Old
olimits7 Offline
New Member
 
Posts: 25
Join Date: Sep 2006
18-09-2006, 06:51 PM

Hi,

Ok, now I'm getting a returned email with some errors I'll post the returned email info below.

Quote:
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/username/public_html/supportsuite/cli/index.php
generated by sales@domainhelpdesk.com

The following text was generated during the delivery attempt:

------ pipe to |/home/username/public_html/supportsuite/cli/index.php
generated by sales@domainhelpdesk.com ------

Usage: php [options] [-f] <file> [args...]
php [options] -r <code> [args...]
php [options] [-- args...]
-a Run interactively
-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>.
-h This help
-i PHP information
-l Syntax check only (lint)
-m Show compiled in modules
-r <code> Run PHP <code> without using script tags <?..?>
-s Display colour syntax highlighted source.
-v Version number
-w Display source with stripped comments and whitespace.
-z <file> Load Zend extension <file>.

args... Arguments passed to script. Use -- args when first argument
starts with - or script is read from stdin

------ This is a copy of the message, including all the headers. ------

Return-path: <olimits7@myemail.com>
Received: from [] (helo=server.domain.com)
by server.supporthelpdesk.com with esmtps (TLSv1:AES256-SHA:256)
(Exim 4.52)
id 1GPMvC-0007BD-D6
for sales@domainhelpdesk.com; Mon, 18 Sep 2006 10:28:42 -0700
Received: from [] (helo=alnrmhc14.myemail.com)
by server.domain.com with esmtp (Exim 4.52)
id 1GPMvQ-0001N9-Pf
for sales@domain.com; Mon, 18 Sep 2006 10:28:56 -0700
Received: from MyComputer ()
by myemail.com (alnrmhc14) with SMTP
id <20060918172840b1400ko0nqe>; Mon, 18 Sep 2006 17:28:41 +0000
Message-ID: <000a01c6db47$e72991e0$0a00a8c0@dell001>
From: "olimits7" <olimits7@myemail.com>
To: "Sales" <sales@domain.com>
Subject: Test 4
Date: Mon, 18 Sep 2006 13:28:48 -0400
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0007_01C6DB26.5F841650"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2869
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server.domain.com
X-AntiAbuse: Original Domain - domain.com
X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12]
X-AntiAbuse: Sender Address Domain - myemail.com
X-Source:
X-Source-Args:
X-Source-Dir:

This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C6DB26.5F841650
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Test 4
------=_NextPart_000_0007_01C6DB26.5F841650
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2963" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Test 4</FONT></DIV></BODY></HTML>

------=_NextPart_000_0007_01C6DB26.5F841650--
Thank you,

olimits7
   
Reply With Quote
  (#11) Old
Neil-UKWSD Offline
Member
 
Neil-UKWSD's Avatar
 
Posts: 868
Join Date: Jun 2003
Location: United Kingdom
18-09-2006, 07:27 PM

Hi,

Did you upload the /cli/index.php file in ASCII, it will fail if uploaded in Binary.


Neil Wood | UK Web.Solutions Direct Ltd

UK cPanel/WHM hosting accounts
http://ukwebsolutionsdirect.co.uk
   
Reply With Quote
  (#12) Old
olimits7 Offline
New Member
 
Posts: 25
Join Date: Sep 2006
18-09-2006, 08:23 PM

I don't know. How do I check if it's in ASCII or binary??

Thanks,

olimits7
   
Reply With Quote
  (#13) Old
bear Online
Community Moderator
 
Posts: 701
Join Date: Jan 2005
18-09-2006, 08:47 PM

Just upload again and make sure you tell the FTP program to force ASCII upload. Simple...unless you're using some other program like Cpanel's file manager. In that case, rename it to .txt before upload, and then rename on the server.
   
Reply With Quote
  (#14) Old
olimits7 Offline
New Member
 
Posts: 25
Join Date: Sep 2006
18-09-2006, 09:39 PM

Ok, I uploaded the file in ASCII format.

I just tried sending a test email and this time I didn't receive a return mail delivery error, but the ticket still doesn't show up in SupportSuite.

Is there a way I can see where these emails are going or any type of error message so I know what's going on?? Any other ideas????

Thank you,

olimits7
   
Reply With Quote
  (#15) Old
bear Online
Community Moderator
 
Posts: 701
Join Date: Jan 2005
18-09-2006, 11:26 PM

Without shell it's not a simple thing to trace. Can you ask your host to tail the mail log while you send, or just tail while grepping for the email address on your behalf? Here's the command:
Code:
tail /var/log/exim_mainlog |grep domainhelpdesk.com
   
Reply With Quote
Reply

Tags
cpanel, 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
Piping not working...support response cryptic at best... sigh. shed49 E-mail Piping Issues 9 18-02-2007 01:02 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