How do I set email configuration when service fails with Office 365 in Linux Red Hat Enterprise 9.3?
I am writing a Bash shell script to send an email notification when docker fails and then export the file. Networking has provided the email server, smtp and port number. All of these configuration I have included in my script. In addition, I am using postfix, but having problems with the hostname. When I go to restart the postfix service I receive this error message listed below. By the way, we are using Office 365.