Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 a VPS with cpanel and I'm attempting to setup my own SMTP server so that I can use

I've looked at a server in which this is already setup, and if I go into WHM > View Relayers I can see the domain name is entered there, while when I look at my new box, it only has the username 'root'.

What do I need to look at? Where is this configuration setup?

I've heard that SMTP is on by default with cpanel, so is this just a matter of setting up an A NAME record or something like this with the DNS?

Any help would be greatly appreciated.

share|improve this question
up vote 2 down vote accepted

You need to set up MX records in DNS, so when someone does a query on the mail server for your domain, for example:

dig in mx

They receive a list of MX servers.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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