The Zabbix server also serves an SMTP relay, to minimize reliance on external services when sending notifications. Since it inherits configuration of the relay from the general *smtp-relay* group, it ends up allowing all hosts to relay off of it. To avoid this, we set `smtp_rmynetworks` at the *zabbix-server* group level to only allow the local machine to relay messages.
9 lines
137 B
YAML
9 lines
137 B
YAML
apache_mpm: prefork
|
|
pg_hba_extra:
|
|
- type: local
|
|
database: zabbix
|
|
user: zabbix
|
|
address: ''
|
|
method: md5
|
|
smtp_mynetworks: localhost
|