How do I setup my Linode to receive email addressed to anyone @mydomain?

How exactly do I configure my linode to receive email?

I own my own domain and would like to use it to receive email, I'm not that interested in sending email just receiving it.


3 Replies

@aleksd2000 --

You need an email server… Although there are lots of choices out there, the easiest to setup are postfix(1) & dovecot(1) (personal bias here). If you want to only receive mail, you'll have to configure postfix(1) appropriately. Linode has guides for setting these up:

Whether you send mail or not, you are still going to need spam defenses, virus protection, SPF, DKIM, DMARC, etc. as well. None of that is very hard to set up but it's tedious…very tedious…and a lot of it is not very well-documented.

As the operator of a low-volume mail server, I can testify from my own experience that an email server takes a lot of care & feeding. You'll want to consider your decision very carefully…you're looking at a lot of lost weekends here…and a lot of bitching & moaning from your customers that your installation doesn’t have every bell & whistle of or work exactly like Gmail or Outlook 365.

-- sw

Hi @sw, thanks for the reply! The server is actually for me. It's not for production use. I wanted to see if I could do it and bought a domain name just for that.

I've gone through a guide which the guys at linode sent me, I've gone through it to the letter and still can't get it to work.

I really don't want to go back to using google for email.

If your bored, wanna fix it? :)


PS: Linode sent this:

If you are more interested in running a mail server in Debian, we have another guide that goes through the the installation Postfix in Debian, although admittedly it's a bit more involved when compared to Mail-in-a-Box:

Email with Postfix, Dovecot, and MySQL :

You write:

I really don't want to go back to using google for email.

Seems as if you've reached that proverbial place where you have to choose between a rock and a hard place…

You also write:

If your bored, wanna fix it? :)

No thanks… I like having weekends off.

If you don't need MySQL for anything else and you only have a few accounts, consider using SQLite for the database:

SQLite is really simple and much easier to set up and administer.

-- sw


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct