LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-27-2011, 05:42 AM   #1
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
smtp.mydomain.com and imap.mydomain.com


Hello all,

I don't know if what I am asking is a valid question or not but I have been stucked to this situation for quite a long time.

I have created a DNS server with forward and reverse lookup zone for example.com
Now is it possible to create a SMTP and IMAP server with that particular domain name

like
smtp.example.com using port 25
imap.example.com using port 143


If yes can anyone please let me know what are the things or changes I need to do in named server or any other related ones.
 
Old 09-27-2011, 08:10 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,732

Rep: Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584
Hi,

You can add A and/or CNAME records for smtp.example.com and imap.example.com as usual in your zone file, e.g.
Code:
smtp A x.x.x.x
imap CNAME smtp
but you don't need to specify the ports. These are the default ports used by smtp and imap servers.
There is an experimental RR (SRV) that in theory can define an imap server in a zone, but better not rely on that

As a side note: it's always better not to use a CNAME for the host defined by the MX RR, but use an A RR instead

Regards

Last edited by bathory; 09-27-2011 at 08:29 AM. Reason: wrong hostnames
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Postfix-Squirrelmail: Mail sent to user1@mydomain.com delivered to user2@mydomain.com tsouvalasi Linux - Server 4 02-26-2010 08:15 AM
Web site mydomain.com is found but www.mydomain.com is not, why? RileyTheWiley Linux - Networking 5 09-15-2009 04:36 PM
Mediawiki on mydomain.com without typing mydomain/wiki crispyleif Linux - Server 4 04-11-2009 10:22 AM
Apache: 'mydomain.com' doesn't work ('www.mydomain.com' does) guarriman Linux - Software 2 12-07-2006 04:16 AM
forcing www.mydomain.com to just mydomain.com sneakyimp Linux - Software 4 07-24-2006 02:23 PM


All times are GMT -5. The time now is 03:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration