Install Send Only SMTP Server
Video Lecture
Description
We will configure the alert manager to use a local SMTP server for sending email alerts.
In this lecture, we create a very quick and simple local SMTP server which can only send emails from localhost.
The commands are
1 |
|
A postfix config screen should appear,
Choose internet site from the choices
enter the mail servers name, I will use my existing Prometheus domain i've already setup.
Then configure postfix by calling
1 |
|
scroll to the bottom, and set
1 2 |
|
restart postfix
1 |
|
try sending an email from the command line,
1 |
|
Check your SPAM folder.
Troubleshooting
If you have trouble receiving emails at your email provider, then please see my SMTP Troubleshooting page in my Zabbix course at https://sbcode.net/zabbix/setup-smtp/#troubleshooting