My web host I have pretty much setup the way I want, using name-based virtual hosting to server several sites with unique domains.
I am now looking into hosted email services and/or possibly renting another dedicated host and having someone setup a mail server.
Is what I want to do possible?
How does DNS work in this regard and how does MX come into play?
I use my hosting companies DNS records - which I pointed my registrar to already. Easy.
If I have one server which handles all HTTP requests for domain.com how do I get a entirely different (possibly remote) server to handle receiving and sending of emails?
If the DNS points to my web host server how does any email know that sales@domain.com should actually goto my second server, not the web host server?
Do I have to use an MTA still on my web host server and redirect email to the other server? Or is this where MX records come into play?
DNS and MX I understand are related but seperate. You can have a DNS with MX but not visa-versa??? You need a domain (DNS) before you can use email (MX) anyways, correct? Thats my reasoning anyways.
Can someone shed some light on how this is possible and what steps, etc I might need to take in order to get something like the above setup?
Cheers