How to set up Email Piping in WHMCS with a Google Apps email alias (Filter) Part 2


Web Design / Development / Marketing Insights


I spent a good half a day figuring out how to setup Email Piping properly for WHMCS. If you’ve been having trouble getting Email Piping working or if you’re like me and you simply want to save some money then this is a must read. This method does not require a cPanel license nor an additional Google Apps account!

First of all, the main documentation for Email Piping is available at If you’re using cPanel or DirectAdmin, great, use the Forwarder Method and you should be piping emails no problem. I successfully use this method over at Rax Hosting.

If you’re using some other type of control panel such as Virtualmin/Webmin, you will need to use the Cron Piping Method. I like to use Virtualmin because it’s free and convenient for administering private VPSs. The funny thing about the WHMCS documentation is that it only tells you that you that a cron needs to be setup and not much else is explained. There are instructions for configuring Google Apps for the Cron Piping Method at The fact that pipe.php and pop.php are obfuscated with IonCube also does not help in understanding what you’re actually doing.

Anyways, the key to getting the Cron Piping Method to work is that you need to configure a single POP3 mailbox in which you can authenticate via user@domain.tld.

The main problem I had with Virtualmin is that I didn’t understand that I only needed a POP3 and I didn’t understand default Username Conventions:

I’ll walk you through step by step on creating the POP3 account in Virtualmin.

Step 1…

Edit: Part 2 will describe how to get email piping working with Google Apps

In order to become a Google Partner your profile needs to be 100% complete. You might get stuck in limbo either because a) You can’t find your company when searching for COMPANY AFFILIATION and/or
b) You can’t link a TOP LEVEL MCC.

The solution to a) is simply to create a brand new MCC account for your company.

Step 1) Create a new Gmail account at
Step 2) Login to the new account and sign up for a new MCC account at
Step 3) Finally, login to the MCC account and join Google Partners at
After you’ve joined Google Partners, your TOP LEVEL MCC should already be listed as an option and you can complete your profile for your company’s MCC account.

Now if you trying to join Google Partners with your personal Gmail account or an account that already has an associated Adwords account, you will not be able to link a TOP LEVEL MCC (b)). This was the case for me, because I was trying to join Partners with my old Adwords account which also had my Adwords Certification. Here is the solution.

Step 1) Create another separate Gmail account at
Step 2) Login to your associated Adwords account that you are trying to join Partners with.
Step 3) Follow the directions at to cancel your Adwords account.
Step 4) Follow the directions at to grant Admin Access to the Adwords account created from Step 1.
Step 6) Once both parties have accepted, login to the new Adwords account and follow the directions at to Revoke Admin Access to the old Adwords account.

Once the old Adwords account is cancelled AND Admin Access is revoked, you should now be able to successfully link to your company’s original TOP LEVEL MCC in Google Partners!

Please comment/ask questions. I hope you found these directions useful; I found the whole process exhausting to say the least but relieved once I was able to figure everything out.