Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-24-2011, 12:04 AM
|
#1
|
LQ Newbie
Registered: Mar 2005
Location: Cyberspace
Distribution: redhat
Posts: 20
Rep:
|
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.
|
|
|
01-24-2011, 01:48 AM
|
#2
|
Member
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Rep:
|
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.
|
01-24-2011, 02:18 AM
|
#3
|
LQ Newbie
Registered: Mar 2005
Location: Cyberspace
Distribution: redhat
Posts: 20
Original Poster
Rep:
|
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.
|
|
|
01-24-2011, 02:31 AM
|
#4
|
Member
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Rep:
|
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
|
|
|
01-24-2011, 02:48 AM
|
#5
|
LQ Newbie
Registered: Mar 2005
Location: Cyberspace
Distribution: redhat
Posts: 20
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 09:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|