zabbix-server: Only allow local SMTP relay
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.jenkins-master
parent
2b43a85c78
commit
cdf2869ef1
|
@ -5,3 +5,4 @@ pg_hba_extra:
|
|||
user: zabbix
|
||||
address: ''
|
||||
method: md5
|
||||
smtp_mynetworks: localhost
|
||||
|
|
Loading…
Reference in New Issue