Page 2 of 2 FirstFirst 12
Results 16 to 26 of 26

Thread: How to setup WHMCS support Email Piping between 2 different domains

  1. #16
    Join Date
    Oct 2007
    Posts
    108

    Default

    trying to get my head around this.

    I'm trying to simply all emails for both sales and support

    i have my support emails sent to [email protected] but if the emails is sent to another address and cc'd to [email protected] the messages gets deleted and "department not found",

    is there a way to get cc'd tickets raised, in may cases the ticket is sent to the sender boss so is not an attempt to raise duplicate tickets.

    simularly for [email protected], set as the pop account for sales department works ok, but over the years i have used [email protected], [email protected] on different business cardsand the email address [email protected]. problem is that all 3 - [email protected], custome[email protected] & [email protected] - the messages gets deleted and "department not found".

    how can i set them so they get tickets raised, any suggestions other than raise multiple departments

    Thanks
    Ian

  2. #17
    Join Date
    Oct 2007
    Posts
    108

    Default

    oops double posted in error
    Last edited by decor; 03-26-09 at 03:03 AM. Reason: oops double posted in error

  3. #18

    Default

    The Support Departments read the TO address for the email that they are setup with. CC or Forwards will not work for you unfortunately.

    You will have to do some magic to get those mails to show the correct To address, or setup multiple departments
    Innernet Computers
    Custom Software, Website Development and Hosting

  4. #19
    Join Date
    Apr 2009
    Posts
    11

    Default

    The method in the first post seems to work on my side. That is forwarding the emails.

    On my system the original TO email address is preserved.

  5. #20
    Join Date
    Mar 2010
    Posts
    5

    Default

    Reading through this post to understand how the piping works and how to setup it properly, I came across this post. It appears that this post is referring to setting up piping using a primary domain email with WHMCS installed on a sub-domain.

    For example:
    Domain: somedomain.com
    Pipe Email: [email protected]
    WHMCS: subdomain.somedomain.com

    There are many ways listed here to set it up so I figured I would add the way I got mine working without the extra email accounts and forwarding. I do not know if this will work for everybody, but I did it without the extra forward to a [email protected]

    I used the directions found here: http://wiki.whmcs.com/Email_Piping

    My subdomains I create will work with either of the following addresses:
    http://subdomain.somedomain.com
    http://www.somedomain.com/subdomain

    I use C-Panel (X3) and created a forward from [email protected] using this command (found from my WHMCS Support Departments):
    php -q /home/cpaneluser/public_html/subdomain/pipe/pipe.php
    (original command included a "|" in front of php but cpanel forwarders would not accept it)

    Replace the "cpaneluser" with your cPanel Username and replacing "subdomain" with the folder you actually used to install WHMCS.

    I have tested it both ways: from user and admin, and the piping is working perfectly!

    NOTE: Even though I am using X3 theme in C-Panel, using only "public_html/subdomain/pipe/pipe.php" DID NOT work. Even though the Trace in Cpanel resolved, it would not pipe through. It started working by changing the command for piping.

    Hope this helps someone along the way!

  6. #21
    Join Date
    Nov 2010
    Posts
    82

    Default

    I am really confused now. I tried to enter as it is described below in my main account (not the subdomain and other cpanel account with WHMCS) and when I save the forwarder it changes it to |/home/main account cpanel/php -q /home/sub domain cpanel account/public_html/pipe/pipe.php

    I try to send an email the [email protected] and get the following error - pipe to |/home/main account cpanel/php -q /home/sub domain cpanel account/public_html/pipe/pipe.php
    generated by [email protected]
    local delivery failed

    Can i ask for clarity in what you meant by "it all changed when you changed the command for piping"?

    Thanks

    Quote Originally Posted by DepotMan View Post
    Reading through this post to understand how the piping works and how to setup it properly, I came across this post. It appears that this post is referring to setting up piping using a primary domain email with WHMCS installed on a sub-domain.

    For example:
    Domain: somedomain.com
    Pipe Email: [email protected]
    WHMCS: subdomain.somedomain.com

    There are many ways listed here to set it up so I figured I would add the way I got mine working without the extra email accounts and forwarding. I do not know if this will work for everybody, but I did it without the extra forward to a [email protected]

    I used the directions found here: http://wiki.whmcs.com/Email_Piping

    My subdomains I create will work with either of the following addresses:
    http://subdomain.somedomain.com
    http://www.somedomain.com/subdomain

    I use C-Panel (X3) and created a forward from [email protected] using this command (found from my WHMCS Support Departments):
    php -q /home/cpaneluser/public_html/subdomain/pipe/pipe.php
    (original command included a "|" in front of php but cpanel forwarders would not accept it)

    Replace the "cpaneluser" with your cPanel Username and replacing "subdomain" with the folder you actually used to install WHMCS.

    I have tested it both ways: from user and admin, and the piping is working perfectly!

    NOTE: Even though I am using X3 theme in C-Panel, using only "public_html/subdomain/pipe/pipe.php" DID NOT work. Even though the Trace in Cpanel resolved, it would not pipe through. It started working by changing the command for piping.

    Hope this helps someone along the way!

  7. #22
    Join Date
    Nov 2010
    Posts
    82

    Default

    I just realised a possible slight difference in my setup. I have my main domain with the emails and then the sub domain with whmcs, and they are in separate Cpanel accounts... although on the same server/whm.

  8. #23

    Default

    Quote Originally Posted by caminoz74 View Post
    I just realised a possible slight difference in my setup. I have my main domain with the emails and then the sub domain with whmcs, and they are in separate Cpanel accounts... although on the same server/whm.
    That is the same setup we all have (WHMCS in a sub account)

    Did you setup the forwards like in 2) and 3) in the opening post? (a forward from the main domain to the sub domain and then a forward in the sub domain to the WHMCS pipe)

    What DepotMan is refering too is that he had to change the Pipe from
    "| php -q /home/username/public_html/whmcs/pipe/pipe.php"
    to
    "/home/username/public_html/whmcs/pipe/pipe.php"
    in order for cPanel to accept it. (username should be your username on the server)
    Innernet Computers
    Custom Software, Website Development and Hosting

  9. #24
    Join Date
    Nov 2010
    Posts
    82

    Default

    Thanks for responding... I was trying to follow the path of not setting up al the forwarding etc which just felt really complicated open to risk. When I tried to enter the pipe it just came back as I mentioned with |/home/main account cpanel/php -q /home/sub domain cpanel account/public_html/pipe/pipe.php... something like a double negative : )

    I ended up using the pop import and it worked straight away. Obviously running a cron every 5 minutes is not my preferred option but it worked straight away and I got very confused trying to sift through everyones comments and then getting the above thing back when i tried just did it for me...

    Perhaps I miss read some of the comments but the forwarding from here to there just seemed a bit too much.

  10. #25

    Default

    Thank you very much! The steps in the first post work perfectly

  11. #26
    Join Date
    Jan 2008
    Posts
    59

Page 2 of 2 FirstFirst 12

Similar Threads

  1. How To: Setup Email Piping for Exchange/Outlook Email Accounts
    By NetwiseHosting in forum Tips, Tricks & Howto's
    Replies: 3
    Last Post: 11-23-12, 03:43 AM
  2. support email piping probs
    By jonshost in forum Customisation & Integration Questions
    Replies: 2
    Last Post: 01-30-10, 05:35 AM