cPanel has a bunch of options to setup mail, but what it seems to really be doing is changing the zone file associated with the given domain.  At that point, I am finding it less confusing to just edit the zone file directly.  For email, the following must be in a domain’s zone file:

  • MX (@) = mail.<domainname>
  • A (mail) = <serverip>