How to configure your local Linux system to use a valid domain when sending mails from root

Please note that there is a SNOW KB article that describes how to configure Sendmail and Postfix in non-supported Linux distributions to use a valid domain when sending mails from root:

Cheers;
Manuel