Generally Small and Medium Business doesn’t have a own mail server in office. If we want to receive notifications we can configure Xenserver to use an existing email account to relay messages.
#1 Open a ssh session in desired Xenserver install
ssh root@<XenServer_IP>
#2 Edit your ssmtp file
vi /etc/ssmtp/ssmtp.conf
#3 Your ssmtp.conf file should have these values
root=notification_email_adress@yourdomain.ext mailhub=your.mailservername.ext:587 AuthUser=email_user_login AuthPass=email_password Hostname=a_desired_hostname_like_PeterSolutionsXenServer01 UseTLS=Yes UseSTARTTLS=Yes TLS_CA_File=/etc/pki/tls/certs/ca-bundle.crt
#4 Test your configuration
echo "Great it Works" | mail -s "Testing PeterXenServer01" your@desiredmail.ext