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.
This commit is contained in:
@@ -5,3 +5,4 @@ pg_hba_extra:
|
|||||||
user: zabbix
|
user: zabbix
|
||||||
address: ''
|
address: ''
|
||||||
method: md5
|
method: md5
|
||||||
|
smtp_mynetworks: localhost
|
||||||
|
|||||||
Reference in New Issue
Block a user