Skip to main content

massive autodetect mail configuration

Comments

4 comments

  • Sys Admin
    How did you migrate your accounts please? WHM to WHM or via SSH?
    0
  • urgido
    WHM to WHM
    0
  • cPanelMichael
    Hello :) Internal case number 108461 is addressed in cPanel version 11.46: Fixed case 108461: Preserve the MXCHECK setting when transfering an account. As a solution to this post-transfer issue, the following command should be useful:
    /scripts/checkalldomainsmxs
    This script will check the DNS Zones on your server and adjust the following files according to its findings:
    /etc/localdomains /etc/remotedomains /etc/secondarymx
    Aside from adjusting the MXCHECK value by hand (through the "WHM -> Edit DNS Zone" feature), you could utilize our API to take advantage of the following function: Email::setmxcheck You could loop it through all of the domains on the server and set the mxcheck value accordingly. Thank you.
    0
  • urgido
    Thank you very much @cPanelMichael
    0

Please sign in to leave a comment.