Table of Contents
Configures how email notifications should be sent out. ClusterControl supports two options for sending email notifications, either using local mail commands via local MTA (Sendmail/Postfix/Exim) or using an external SMTP server. Make sure the local MTA is installed and verified using the Test Email button.
Use SMTP Server (Recommended)
Field | Description |
---|---|
SMTP |
|
SMTP Port |
|
SMTP Username |
|
SMTP Password |
|
Reply-to/From |
|
SMTP TLS/SSL required |
|
Send Test Email |
|
Use Sendmail
Field | Description |
---|---|
Use sendmail |
|
Reply-to/From |
|
Installing Sendmail
On ClusterControl server, install the following packages:
$ apt-get install sendmail mailutils #Debian/Ubuntu
$ yum install sendmail mailx #RHEL/CentOS
Start the Sendmail service:
$ systemctl start sendmail #systemd
$ service sendmail start #sysvinit
Verify if it works:
$ echo "test message" | mail -s "test subject" [email protected]
Replace [email protected] with your email address.
Using Postfix
Many Linux distributions come with Sendmail as default MTA. To replace Sendmail and use other MTA, e.g Postfix, you just need to uninstall Sendmail, install Postfix and start the service. Following example shows commands that need to be executed on the ClusterControl node as the root user for RHEL 6:
$ service sendmail stop
$ yum remove sendmail -y
$ yum install postfix mailx cronie -y
$ chkconfig postfix on
$ service postfix start