Sunday, November 17, 2019

Configuring Alerts and Notifications

There are several ways get your mail alerts to work:

  • Install and configure the MTA like Sendmail, Postfix, QMail or Exim;
  • Install and configure SSMTP instead of standard MTA;
After you are done with this you can use mail command to send email:
[root@localhost ~]# echo "This is a test mail" | mail -s "Test mail" <reciever-email>

Alerting by Email

It is often useful to be notified by E-mail when a specific event occurs with VPN tunnel especially for Site-to-Site VPN tunnel.

Activate E-mail alert:
activate alert

Deactivate E-mail alert:
deactivate alert