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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

spooling maiil on cpanel

Discussion in 'E-mail Discussions' started by ourweb, Aug 25, 2011.

  1. ourweb

    ourweb Well-Known Member

    Aug 9, 2004
    Likes Received:
    Trophy Points:
    Let's say we have a mailserver called and a Cpanel server called On the Cpanel server I have a domain called and I put the MX record to but I want the mail to spool on Cpanel in case the mailserver goes down for some reason. How do I do this?
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Oct 2, 2010
    Likes Received:
    Trophy Points:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You'd set it up as "Backup Mail Exchanger" in WHM > DNS Functions > Edit DNS Zone for the domain's DNS entry, then add a second MX record with a higher priority to point to the cPanel server in that zone file.

    This will create the /etc/secondarymx file where the domain will be listed, which means cPanel will hold the emails in queue when the other machine isn't available.

Share This Page