Click to See Complete Forum and Search --> : how to alter domain name to access mail
andrew anand
07-12-2006, 10:53 AM
If i have domain at the moment andrew.com how to change to for example
bull.andrew.com and appropriate DNS records (either A or MX) to receive mail at a "bull" andrew.com on my machine.
andrew
MastaShake57
07-12-2006, 11:35 AM
What mail package are you using?
If it is postfix, you would change to your "mydestination" directive the appropriate domain name, which is "bull.andrew.com". Now, there are other directives, like mailname and hostname that may need to be looked at, but that depends on your situation.
And, assuming from your question (I needed to read it 3 times to understand it somewhat), you want to accept mail for user@bull.andrew.com, but the keyword you used is "change", so I'm also assuming there's a mail presence of andrew.com already established and you need to alter it.
In your DNS record, you should have something like this:
andrew.com. 600 IN MX 10 whatever.mailserver.andrew.com.
I believe you would want to change it to this:
bull.andrew.com. 600 IN MX 10 your.machine.at.andrew.com.
Just remember, if anyone wants to send you any mail to "you@andrew.com", they won't be able to because there's will be no mail server responding to that domain name. If you need to get mail on both domains, an MX & a CNAME would do the trick.
Hope this helps.
andrew anand
07-12-2006, 02:13 PM
thanks for the post
Yes i have postfix and the mx record is set up.
The present MX record reads
or fqn
mail.andrew.com
If i change the domain name to bull.andrew.com AND i still want to receive mail for andrew.com (fqn mail.andrew.com)
so i want to reveive mail for both andrew.com and bull.andrew.com
on the same machine running postfix.
So is the suggeation i have get a second mx record from my isp?
say my user name is andypady , while logged in i want to receive mail for both bull.andrew.com and andrew.com is this possible/
Andrew :)
MastaShake57
07-12-2006, 03:24 PM
I don't think you want to CHANGE your domain name, but you want to receive mail for a subdomain within your domain. From what I gathered, you have an MX record of mail.andrew.com. I think what you want now is ANOTHER MX record mail.bull.andrew.com, which is a second MX record (your subdomain). Add the appropriate A records to point to your existing mail server or your machine and go from there. Make the necessary changes to your mailservers and you're good to go.
Hope that helps.
crow2icedearth
07-12-2006, 06:14 PM
isnt his domain name andrew.com so bull.andrew.com would also be a subdomain wouldnt it ?
just my 2 cents. :)
andrew anand
07-12-2006, 06:49 PM
ok thanks for all your posts
I am not quite sure how to set this up.
first of all in the postfix in main.conf and must also tell my isp that i want a sub domain.
If i could have some more detaled feedback sorry for being a bit dim
andrew
MastaShake57
07-13-2006, 10:46 AM
isnt his domain name andrew.com so bull.andrew.com would also be a subdomain wouldnt it ?
just my 2 cents. :)
Yes, I made note of it in my posts.
If i could have some more detaled feedback sorry for being a bit dim
You already have a domain of andrew.com, therefore you can create all the subdomains you need internally, you don't have to ask anyone for permission. Only if you need to publish said subdomains on the web and don't have control over your own DNS zone will you then need help from the 3rd party that maintains your zone records.
To continue, rather than just "give" you the answers which would really not be beneficial to you if you want to continue and grow with linux, I will send you a couple of links that will absolutely get you the answers you need. You need to know WHY you need to configure such items rather than just blindly follow directions from me.
To know the basics of Postfix and configure inbound/outbound mail:
http://www.postfix.org/basic.html
A real short and easy primer on DNS records
http://www.clarkconnect.com/wiki/index.php?title=Services_-_DNS_Primer
To know the basics of DNS and MX Records
http://www.rscott.org/dns/mx.html
Those links above should definitely get you on the right path to changing and correcting the items you need. I'm guessing that you don't host your own zone, but a 3rd party does. With the above links, you can absolutely tell what your needs are to your ISP further reducing confusion between you and them.
If after all that you STILL need help, post back again and we'll walk through it. But give this path a shot, it's best you learn the basics. You'll realize that linux will be much more enjoyable once you figure things out on your own. Ask after you've exhausted all possible avenues.
Glad to help.
andrew anand
07-13-2006, 12:41 PM
thanks for your post
andrew