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 want to run my own VPS server for experience, and the problem is that nobody actually provides hosted email when you get a VPS server.

So I guess I have to setup email on my own, what is the best step by step tutorial for running your own mail server?

I'll be running ubuntu, and I am not stuck on any specific mail server at this point.

share|improve this question
Why do you think it's a bad idea to run your own email server? In addition, what does VPS have to do with your email? Anybody can host your email. – joeqwerty Nov 24 '10 at 15:00
any suggestions? – Blankman Nov 24 '10 at 15:22

You can install postfix for SMTP and dovecot for IMAP/POP3.

share|improve this answer
If you want to get experience these two are great. If you just want a stable mail service get a hosted solution, for example Rackspace Email. – Martijn Heemels Nov 24 '10 at 14:50
problem is, they have thresholds to 200 emails per hour...I need more than that for this app. – Blankman Nov 24 '10 at 15:23
+1, just put postfix on the VPS. – Sirex Nov 24 '10 at 15:36
You want to get experience per your question, but you also want to blow past 200 emails per hour? I call shenanigans. – pboin Nov 24 '10 at 15:43

What do you mean by a hosted email server? Mail is sent to the target machine using SMTP, but usually people want to read it somewhere else (usually using POP or IMAP).

Given the extensive abuse of email systems and the various approaches to limiting this abuse, you need to know and do a lot more than just get it working.

If you can possibly avoid it, I'd use a hosted mail service and, if you need outgoing mail from your VPS, configure it to use the hosted mail server as a smarthost.

share|improve this answer

If you dont want to setup your own mail server as VPS you could always register to a free google apps account and setup your DNS to point to google for email.

You get something like 50 free email accounts before you have to look into upgrading your account.

Otherwise the best howto guide i have used for ubuntu is the Flurdy one

share|improve this answer

If you are planning to run a windows server then you can use mail enable, this seems to come as standard with most hosted vps solutions. If you have not selected a host I can recommend webfusions starter package which comes preinstalled with mail enable

Below is the links for the 2 solutions I have said about above

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.