Webmasters Stack Exchange is a question and answer site for pro webmasters. 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'm wondering how to create an info@domain.com or any other email account (e.g., john@domain.com, ann@domain.com). What should I do?

I have my domains in GoDaddy, but I would like to not pay for creating emails accounts.

I have my sites on a server with Ubuntu + Apache as the web server.

I don't have cPanel in my server.

share|improve this question

closed as too broad by Simon Hayter Aug 23 '13 at 18:51

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.

Please narrow down your question once you made some head way as currently as it stands the answer given would have to be a full blown tutorial which is unlikely to be answered or expecting far to much in one question. – Simon Hayter Aug 23 '13 at 18:51
@bybe I think I covered the basics. – dan Aug 23 '13 at 19:17

As this Ubuntu help document states:

Setting up an email server is a difficult process involving a number of different programs, each of which needs to be properly configured.

First you'll want to setup a Mail Transfer Agent (MTA), choosing either the default Postfix or exim4. This guide will explain how to install and configure Postfix.

Next you'll want to add Mail Filtering to deal with spam and viruses. If you selected Postfix, then follow this guide.

Then setup a Mail Delivery Agent (MDA) to provide an IMAP and POP3 server that you can connect to with an email client. Dovecot and Courier are two common choices for Ubuntu - see those links for how to install and configure them.

After you install and configure the above, you'll need make sure the following ports are available to the public:

  • IMAP: 143
  • POP: 110
  • SMTP: 25

After that, you'll need to configure your DNS at GoDaddy (if you're not running a DNS server yourself). Here is an article on adding and editing MX records there. You'll also need to make sure you have CNAME records for POP, IMAP, and SMTP. Here is a guide on how to add and edit CNAME records there.

Last but not least, you'll want to make sure you have Reverse DNS setup properly as that can be used as a spam filter. Here is an article on how to add and edit SPF Records there.

As you can see, running a mail server is not a simple task. I'd strongly suggest adding an email package to your domain at GoDaddy, and let them do all this work for you. You can search in Google for promotion codes to make this relatively inexpensive.

share|improve this answer
I have set up mail servers for my own use and have found they require more time to set up than a web server and require more monitoring. Not a project for the faint of heart. – Paul Aug 23 '13 at 23:23
@Paul More monitoring and vigilance for sure ;-) – dan Aug 24 '13 at 4:38

If you're using Ubuntu on a server responding to a public IP address, it should either come with an email server or be able to install one like Postfix. Once you have a specific email program installed you should be able to look up documentation on how to set up email accounts. You may also have to have certain ports open or other settings in place.

share|improve this answer

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