LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-24-2011, 12:04 AM   #1
aquiline
LQ Newbie
 
Registered: Mar 2005
Location: Cyberspace
Distribution: redhat
Posts: 20

Rep: Reputation: 0
Mail-Server-How to use domain name and static IP for exchanging emails


Dear All;
1. I have registered Domain name/website, suppose = test.com, hosted on another ISP.
2. I have another Static IP, suppose = 1.2.3.4
3. Now I want to setup/configure mail server to send and receive Emails for "test.com", say a user from anywhere can use mail server by using webaddress of "mail.test.com"
4. Mail server will be mange locally in my own setup, accessible from everywhere.
5. Please give some examples, howto use registered domain name (for example = test.com) with static public ip (suppose= 1.2.3.4), so user can use only mail.test.com, not static ip address.

Thank you very much.
 
Old 01-24-2011, 01:48 AM   #2
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
if your domain manage by ISP you need to contact them to create
"A" record mail.test.com to 1.2.3.4 and make "MX" record with eg
priority 5 to mail.test.com

then after that you can configure mail server at 1.2.3.4
 
1 members found this post helpful.
Old 01-24-2011, 02:18 AM   #3
aquiline
LQ Newbie
 
Registered: Mar 2005
Location: Cyberspace
Distribution: redhat
Posts: 20

Original Poster
Rep: Reputation: 0
Dear routers,
Thank you very much for your reply. I'll test your given solution. I have little bit experience of managing BIND DNS System, can you please tell more about:
Quote:
"A" record mail.test.com to 1.2.3.4 and make "MX" record with eg
priority 5 to mail.test.com
Thank you very much for your time.
 
Old 01-24-2011, 02:31 AM   #4
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
ok since you know that, so its not dificult to do
just edit your zone file make as following

Code:
@  MX      5     mail.test.com
mail       A     1.2.3.4
make sure you increase the serial number and save then reload bind
 
Old 01-24-2011, 02:48 AM   #5
aquiline
LQ Newbie
 
Registered: Mar 2005
Location: Cyberspace
Distribution: redhat
Posts: 20

Original Poster
Rep: Reputation: 0
that's really helpful, Thank you very much for nice explanation. I'm going to try it, if got any question, will update this post again.

Thank you very much.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] POSTFIX server, new domain emails stuck in queue dtd646 Linux - Server 2 04-21-2010 02:29 AM
Postfix emails send outgoing mail with wrong domain name michael.smith Ubuntu 2 01-30-2010 12:23 AM
problems with From: header when sending emails from my domain using mail() function mavgh1 Linux - General 5 03-26-2006 02:48 PM
problems with From : header when sending emails with function mail() from my domain mavgh1 Linux - Software 0 03-24-2006 07:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration