Skip to main content

cpanel accounts not receiving email

Comments

2 comments

  • techAMIGO
    Hi, since the manual mx data is stored in the file /etc/manualmx, I think removing entries from the file will fix it, or if you need to remove all you can simply null the file with command > /etc/manualmx
    But ofcourse take a backup of the file always before doing. Or if you need to run command for all domains, following will work for i in $(cat /etc/userdomains | cut -d : -f1 | grep -v "nobody"); do echo doing $i; whmapi1 unset_manual_mx_redirects domain="$i" ; done;
    0
  • cPRex Jurassic Moderator
    Thanks for the for-loop - that's what I would have recommended in this case.
    0

Please sign in to leave a comment.