How to host the webmails on another server

Posted By: mo007 ()
Posted On: 2007-Jun-02 07:48

Hi Everybody,

I have a hosting plan for my website (on a shared server), I'm hosting one of my clients' website on this account (as an addon domain). This client wants to host his emails (ex: email@his_site.com) on his local server in his office, and he gave me his DNS (x.x.x.x) and the URL to his web server: http://x.x.x.x:3000/
I asked my hosting company to forward his emails to his DNS and they did it at the DNS level, but it didn't work. Here's what they told me:

We cannot input an actual port in the DNS A record, we can only create the A record with IP itself, you can try and create a meta-redirect and send the url to redirect to the port.


Could someone please help me and explain how I can go about this?

Thank you for your help.



Posted By: Prowler (Staff)
Posted On: 2007-Jun-04 06:59

Before you can come to redirecting to the appropriate port, first make sure the webmail is working and configured by going to the http://x.x.x.x:3000/

If everything is ok, then you can set up the redirection like so:
set this page as index.html or whatever your default file extension is.


Code: [copy]





Usually webmail is set up to run from mail.domain.com

Did they set up this (MX Record) ?




Posted By: mo007 ()
Posted On: 2007-Jun-04 22:38

Yes they did,
I did what you said and it works, but I think I have to delete the client's email accounts from my server so they can work, what do you think?

Thank you very much for your help.


Posted By: Prowler (Staff)
Posted On: 2007-Jun-05 07:57

If they had set up the MX Record correctly, you need to do little else.


Posted By: mo007 ()
Posted On: 2007-Jun-05 14:28

I have one email account on my client's server for testing purposes, and after my hosting set up the XM Recorde and I put the meta-refresh, I was able to send/receive email from this testing account.
What else do I have to change?


Posted By: Prowler (Staff)
Posted On: 2007-Jun-07 15:32

You are done. Others who have email account in this server should be able to login and retrieve their emails.

If they use any MTA (Mail Transfer Agent) like Outlook or Outlook express they would have to set the incoming mail (POP3) server as well as outgoing mail server (SMTP) to this mail server.