Setting up a Mail Server that gathers all Email

Hi

I will be using "mydomain.com" as an example of my domain.

I want to setup a mailserver that accepts any mail sent to *@mydomain.com and then forwards them to admin@mydomain.com

I tried following this tutorial but I was not successful…

http://library.linode.com/email/postfix … 0.04-lucid">http://library.linode.com/email/postfix/dovecot-mysql-ubuntu-10.04-lucid

In the tutorial, they use the example domain: "archimedes.palegray.net". The subdomain is confusing to me. Do I need to set the domain as archimedes.mydomain.com", or "mail.mydomain.com"? Or just "mydomain.com"?

Also, what should my MX settings be? Do I have to use the GMail MX? If possible, I'd like to avoid that.

2 Replies

The example "archimedes.palegray.net" would be the full DNS name of your actual server that processes, and can be something like mail.example.com. The domain name itself ("mydomain.com" in the example) comes into play further down in the tutorial, under the "Setting up Domains and Users" heading.

The MX would be set to your own server, and is briefly mentioned under that same heading. But to clarify just a little bit, your MX settings (if using the example from the tutorial) would be something like this:

     MX 1  archimedes.palegray.net.

You simply point it to the same FQDN you specified as your mail server's hostname.

Ok, in the tutorial, does the user own the domain "archimedes.palegray.net" or "palegray.net"? I noticed it is not used for the rest of the tutorial.

The domain that is actually owned seems to be "example.com". On my DNS Manager on the Linode Manager, under NS Records, I'm guessing the "subdomain" value replaces "example.com".

Where do I get this "archimedes.palegray.net" value? And if I could replace "archimedes.palegray.net" with "mail.example.com", as NeonNero said, why is "archimedes.palegray.net" used in the tutorial at all?

NeonNero, when you say that I can enter "mail.example.com", is "example.com" the domain I own and is on my DNS Manager of my Linode? If so, do I have to register the sub-domain "mail.example.com" prior to doing this?

Also, I noticed the tutorial mentions other sub-domains such as "plato.example.com" and "server.example.com". Where do they come from? Am I supposed to register these sub-domains somewhere before I enter them or is entering them where the tutorial tells me to the sub-domain registration process?

I always believed sub-domains were apart of the DNS settings, not the server settings; hence, not possible to create a sub-domain through the Linode, but only through pages on the Linode Manager. Please correct me if I'm wrong.

Reply

Please enter an answer
Tips:

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] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct