Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MX Records, Postfix, and Subdomains
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
SamaelH
n00b
n00b


Joined: 22 Jul 2006
Posts: 13

PostPosted: Wed Jul 26, 2006 4:03 am    Post subject: MX Records, Postfix, and Subdomains Reply with quote

Hello again!

I'm now in the process of trying to figure out my new server/domain's e-mail system. Which is to say, it doesn't have one.

Am I right to assume that, with only an IP and a registered domainname directed to it that I can recieve e-mail there, provided I install everything on my server to handle it?

Given that, I'm wondering how to go about doing this.

Postfix looks like a simple enough path, however, it often describes using addresses such as:
mail.whatever.org

The problem is that I don't have any subdomains setup, and my DNS control's ability to add them generally asks me to give a URL for it to point to (or to simply give it @, in which case it points to the server itself).

Then I encountered this thing called an MX record, and while I understand the principle, I'm still a bit lost.

Are there any tutorials out there or steps that explain how to go about setting up my server to receive and send e-mail on different addresses (bob@whatever, fred@whatever, etc), given the following?:

1) I have a server and an IP
2) It has a domain name
3) I'm an idiot who doesn't know what he's doing.

Thank you very much!
Back to top
View user's profile Send private message
elgato319
Guru
Guru


Joined: 15 Sep 2005
Posts: 546

PostPosted: Wed Jul 26, 2006 6:45 am    Post subject: Reply with quote

mx-records:

They define which mailserver is responsible for handeling mails from this domain.

Quote:
domain.com

MX mail.domain.com


Obviously mail.domain.com will point at your ip adress.

If you have control over the DNS which hosts your domain, you should setup a subdomain e.g. mail. and enter an mx record.
To check mx-records you can use the dig command
Code:

dig mx domain.com
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum