On the next step it’s time to send a locally generated email to a Gmail account by issuing the below command. $ sudo nano /etc/ssmtp/nf Ĭonfiguration of /etc/ssmtp/nf Ĭonfigure Zabbix Email Alerts Step 2: Gmail Tests for Zabbix Email Alertsģ. After the packages are installed on the system, configure the SSMTP program to send local emails to your Gmail account by opening the main configuration file for editing with your favorite text editor and root privileges and use the following parameter settings: # vi /etc/msmtprc
$ sudo apt-get install ssmtp mailutils Ģ. To install the SSMTP program alongside with mailutils package that you will use to send mails, issue the following command on your RedHat-based distros and Debian like server: # yum install msmtp mailx
SSMTP is a small software, which does not fulfill any of the functionality of a mail server, but only delivers emails from a local machine to an external email address on a mailhub.
How to Install Zabbix on RHEL/CentOS and Debian/Ubuntu – Part 1ġ.This tutorial will briefly discuss how to set up a Zabbix server to send mail reports to a Gmail address by using the SSMTP program, without the need to install and configure any local MTA daemon, such as Postfix, Exim, etc. If you are using Zabbix to monitor your infrastructure you might want to receive email alerts from your local domain somewhere on a public internet domain, even if you don’t own a valid registered internet domain name with a mail server which you can configure on your own.