Enabling Email Notifications
Get Email notifications with the completion status of backup jobs by pointing Zmanda to your SMTP server.
Prerequisite - SMTP Server
You must have an operational SMTP server as well as its credentials. Zmanda, itself, will not act as the SMTP server.
If you aren't sure where to start, see this article on how to set up an SMTP server using Gmail.
You will use the SMTP server information to configure the mailx/postfix tools in the following steps.
RHEL Based Systems
Install mailx package using yum or dnf
Create a soft link to mailx from mail.
Update the /etc/mail.rc configuration as below:
Test to make sure that everything works as expected:
Install the utility
In /etc/postfix/main.cf, append the following lines. Use a text editor tool like vi or nano. eg. vi /etc/postfix/main.cf
Configure the postfix SASL credentials by appending the following info within /etc/postfix/sasl_passwd:
A Postfix lookup table must now be generated from the sasl_passwd text file by running the following commands.
Next, we need to configure generic file in order to be able to send emails as a valid user (this is required for Office365). vi or nano into /etc/postfix/generic and append the following info:
Save and exit the file and run the following commands.
Now Change alias root to your email address. Use vi or nano to make the following changes to /etc/aliases
Save and exit, and run the newaliases command for the changes to take effect.
Send a test email using the command below:
Last updated
Was this helpful?