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 a site running on a VPS, now I want to be able to receive mails at How do I need to set up the server? And how should I set up the mail client on my PC to receive those mails? The server is running CentOS/RHEL.

I'll really appreciate if someone shed some light on the steps that need to be taken. Thanks in advance!

share|improve this question

closed as too broad by masegaloeh, mdpc, Ward, Sven Jan 13 '15 at 6:54

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

To be more useful to future readers, you may want to update the subject of your question to something more specific. I suggest something along the lines of "How to set up a basic mail server for the first time". – Zayne S Halsall May 2 '10 at 20:48
up vote 16 down vote accepted

The steps:

  1. Get the DNS for updated to point the MX record/s to your server;
  2. Install the MTA of your choice (I recommend postfix, of course);
  3. Configure the MTA to receive mail from and deliver to local mailbox/es;
  4. Install the MDA of your choice (I recommend dovecot, of course);
  5. Configure the MDA for POP/IMAP access;
  6. Set up your MUA to retrieve/synchronize the mail.

Simple, right? ;)

share|improve this answer
Hey, that seems simple enough! Thanks! :P – user41010 May 2 '10 at 21:50
You'd think ;-) but mail servers (MDAs and to a slightly lesser extent MTAs) are a frequent subject of complaints. For whatever reason they seem to be difficult to manage for some people. So don't count on it being as simple as it sounds. – David Z May 2 '10 at 22:08
I was just being sarcastic there :) Looks like a lot of work, this. – user41010 May 2 '10 at 22:38

While its meant for debian based systems (swap apt for yum) is a really good, step by step guide to setting up a complete mail server

share|improve this answer
Thanks. I think I'm going for Google Mail now! :) – user41010 May 3 '10 at 16:09

Setting up Google Mail for your domain is trivially easy .. if it takes longer than 15 minutes (including the client) you are not paying attention to the instructions.

share|improve this answer
Too bad it's not fee anymore. It was an awesome way to quickly and easily get email setup on a domain. – Jason Taylor Dec 20 '12 at 19:57

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