cpanel as mailserver and dns only

OK, domain1.com use the 2 nameservers of a cpanel / whm server (let's call it "whmserver"). The nameservers are edited in a way that www.domain1.com and domain1.com points to another linux server (let's call it "nonwhmserver"). Basically A records on zone are set to another IP.
Question is:
How to setup domain1.com so that domain1.com emails are handled by "whmserver", meaning that account owner can login to "whmserver" cpanel, setup mail accounts (user1@domain1.com, user2@domain1.com, etc.) and users can use "whmserver"'s webmail function to check their emails?

Any help is appreciated.

 

 

 

 

Top