The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

slow link

Discussion in 'E-mail Discussions' started by mirfan, Oct 31, 2011.

  1. mirfan

    mirfan Active Member

    Joined:
    Nov 24, 2008
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    We are using Exim on CPANEL server with CENTOS 5.
    Problem is that our users are in two different data centers in US and China. And china datacenter users having difficulties for sending emails along with attachments most of the time because of slow connectivity between US and China datacenters.
    Can someone please help me for what's the best solution to resolve this issue ? Currently i am thinking to configure seperate SMTP server on china datacenter so chinese users can send email from there rather than email route to US data center. but again problem is that US data center is currently main mail server which hosts all users mailboxes. and i don't want to seperate domain name between two datacenters.
    I still think seperate SMTP server on both datacenters can solve email sending issues but how to accomplish this without changing any user email domain e.g. abc@example.com or anyohter idea ?
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You could set two MX records where the primary MX for the Chinese users is a Chinese-based server for email, then set the U.S. server as the secondary MX record to fall back to if the primary MX fails (it would simply hold the emails in the queue until the primary MX became reachable).

    By changing the MX this way, you wouldn't have to worry about propagation issues, since you'd still have the emails held during the DNS changes for the MX by the U.S. machine.

    Unfortunately, you will end up having to configure email accounts on both machines, but you could use an API-based script to handle that during email account creation.
     
  3. mirfan

    mirfan Active Member

    Joined:
    Nov 24, 2008
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the reply.
    Well, emails are still in queue during the time when link down between china and US datacenter. we are managing this to make sure no emails will be lost.
    But my main objective is to speed up emails delievery from china data center this get delayed because all emails route from US data center and it holds all users mail boxes.
    I am looking to send/recieve emails from both data centers independently to eliminate china to US route.
    But still not sure, how to accomplish this without changing user domain from address.
    Might be subdomain or mail forwarder or something else ?
     
Loading...

Share This Page