I suddenly cannot receive email for all emails under my domain name. The following text message will append to the bounced email:
Mail delivery failed: returning message to sender
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
myaccount@mydomain.com
unrouteable mail domain “mydomain.com”
Solution:
I created a new file mydomain.com. As the content, I put *: myaccount. Then, I save the file and upload it to /etc/valiases.
Or via ssh:
root@store [~]# cd /etc/valiases/
root@store [/etc/valiases]# vi mydomain.com
*: myaccount
Run script:
/scripts/fixvaliases
And…. voila! My email works normally again.