Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have whm installed on my VPS, which my domain MX records are pointing to:

and whm/cpanel has mail forwarding rules which pipes certain @mydomain email addresses into my CRM software.

But for certain email addresses I want to forward into Google Apps. For example,, pipes into cPanel --> CRM ( but should be going to Google MX records. Is that possible?

The reason why is I want to register for Google Apps such as analytics and other Google services under

My initial thoughts were to add a subdomain such as and point that subdomain's MX records to Google.. but I want to avoid this if possible.

share|improve this question

closed as off-topic by masegaloeh, peterh, mdpc, Andrew Schulman, Hyppy Apr 30 '15 at 13:50

This question appears to be off-topic. The users who voted to close gave these specific reasons:

If this question can be reworded to fit the rules in the help center, please edit the question.

MX records work for the entire domain and there is no way to have one email address at a domain point to different MX records than another email address at the same domain.

It might be better to go the other way. Set your MX records to point to Google and have them forward certain email addresses to your mail server. You will get better reliability that way too.

It certainly is possible to have Postfix forward emails. In

smtp_generic_maps = hash:/etc/postfix/generic

And in /etc/postfix/generic:

Run postmap generic after editing the file and postfix reload to tell Postfix to reload its config.

If you're using something other than Postfix, add it to your question.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.