[enh] Auto update postfix on smtp.allow_ipv6 change

This commit is contained in:
ljf 2020-04-19 03:55:50 +02:00
parent e6f0091f59
commit 40141c84f3

View file

@ -321,6 +321,7 @@ def reconfigure_ssh(setting_name, old_value, new_value):
if old_value != new_value:
service_regen_conf(names=['ssh'])
@post_change_hook("smtp.allow_ipv6")
@post_change_hook("security.postfix.compatibility")
def reconfigure_postfix(setting_name, old_value, new_value):
if old_value != new_value: