Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to create a fallback mailserver?

Discussion in 'E-mail Discussion' started by Danny_T, Nov 28, 2005.

  1. Danny_T

    Danny_T Well-Known Member

    Joined:
    Jul 19, 2005
    Messages:
    181
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Netherlands
    Hello,

    How to create a fallback mailserver on a different location for all current and newly created whm accounts?

    I know how to do it in DNS records but still not found a good how-to for mailserver on the internet.

    Danny.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    It entirely depends on the mail server you use for your backup MX as to how you would configure it. As far as the main cPanel server is concerned, there's nothing you need to do at all except setup the MX records correctly (which you can do for new domains by modifying the zone templates in WHM to setup the two A records and the two MX records. If you use another cPanel server as the backup MX server, then all you need do is to list the domains you want to relay in /etc/secondarymx
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Danny_T

    Danny_T Well-Known Member

    Joined:
    Jul 19, 2005
    Messages:
    181
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Netherlands
    It going to be a standalone server just only for mail. So i know that i something must do with scripts that syncs things from the cPanel server.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Probably the simplest way would be to use a synchronised copy of /etc/localdomains on the remote mail server and make any changes you need to the remote mail servers SMTP server base on its requirements for relaying email as a backup MX service.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice