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.

Cpanel with remote MAIL/DNS server ?

Discussion in 'E-mail Discussions' started by majoosh, Aug 29, 2012.

  1. majoosh

    majoosh Well-Known Member

    Joined:
    Feb 18, 2006
    Messages:
    97
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    Hi,

    Am looking for a soultion for a new setup. I have multiple cpanel vps server which will be hosting only web but all these vps servers should be contacting a central email server ( which runs cpanel too). Also each customers in the vps server should be able to create their own email address and should be automatically synced to the central email server which runs cpanel too. ( just email ).. is there any existing soultion like this ?

    Also I would want a centralized DNS server for all these vps server. Is DNS ONLY cpanel a solution for this ?

    Appreciate your help. :)
     
  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
    Hello,

    DNS only would be a solution for a centralized DNS server where the others cluster to it.

    For the email issue, you'd probably want to set the cPanel web servers as backup mx so that it servers as a secondary MX record to hold mail to queue of the primary email server is down. You can basically set each account with backup mail exchanger for the cPanel web server, then the domains will be in /etc/remotedomains and in /etc/secondarymx and whenever the primary mail server is down, you'd have emails arrive to the cPanel secondary MX machine and hold in the queue until the primary MX is available again.

    As for synching the email accounts, I wouldn't even have the icon go to the cPanel web server. Set the icon to log into the email server instead for email account creation and webmail. This way you don't have to sync the accounts. When the cPanel webserver is a secondary MX for domains, the email accounts don't have to exist on it. The mail doesn't ever deliver to the cPanel server that's the secondary (backup) mail server. It just holds them if the other is offline until it's online again.

    Thanks!
     
  3. majoosh

    majoosh Well-Known Member

    Joined:
    Feb 18, 2006
    Messages:
    97
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    You mean I have to set secondary mx for each and every server ? If I plan to have 10 vps servers then I should be setting 10 secondary mx + 1 primary mx ?
     
  4. majoosh

    majoosh Well-Known Member

    Joined:
    Feb 18, 2006
    Messages:
    97
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    I understand that now.. that's a better solution :)

    Sorry for the previous comment.. :P
     
  5. majoosh

    majoosh Well-Known Member

    Joined:
    Feb 18, 2006
    Messages:
    97
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    How can we set this ? also when a user clicks for webmail or email account creation it will ask him for login again on another server ?

    Is there any other better solution for backup mx in cpanel ?
     
  6. 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
    I cannot tell you specifically how to implement an icon redirecting to the email server's cPanel webmail. You'd have to remove the existing webmail icon and create a new webmail icon or interface. They won't need to log in again if you end up using an API call to store their data possibly. You may wish to post for suggestions on the developer's section of the forum.

    There's no better solution for backup MX in cPanel than what I've suggested that I am aware of doing. If there were, I'd have suggested it.
     
  7. majoosh

    majoosh Well-Known Member

    Joined:
    Feb 18, 2006
    Messages:
    97
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    Thanks much!!
     
Loading...

Share This Page