7

I have a site running on a VPS, now I want to be able to receive mails at info@mydomain.com. 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!

TarunG
  • 103
  • 2
user41010
  • 91
  • 1
  • 2
  • 7
  • 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 02 '10 at 20:48

3 Answers3

17

The steps:

  1. Get the DNS for mydomain.com 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 mydomain.com 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? ;)

Zayne S Halsall
  • 1,982
  • 15
  • 19
  • 1
    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 02 '10 at 22:08
  • I was just being sarcastic there :) Looks like a lot of work, this. – user41010 May 02 '10 at 22:38
1

While its meant for debian based systems (swap apt for yum) http://flurdy.com/docs/postfix/ is a really good, step by step guide to setting up a complete mail server

Journeyman Geek
  • 6,977
  • 3
  • 32
  • 50
0

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.

tomjedrz
  • 5,974
  • 1
  • 16
  • 26