mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] Automatic regenconf after editing smtp settings
This commit is contained in:
parent
94eb9246bb
commit
ff0a2192b9
1 changed files with 4 additions and 0 deletions
|
@ -326,6 +326,10 @@ def reconfigure_ssh(setting_name, old_value, new_value):
|
|||
service_regen_conf(names=['ssh'])
|
||||
|
||||
@post_change_hook("smtp.allow_ipv6")
|
||||
@post_change_hook("smtp.relay.host")
|
||||
@post_change_hook("smtp.relay.port")
|
||||
@post_change_hook("smtp.relay.user")
|
||||
@post_change_hook("smtp.relay.password")
|
||||
@post_change_hook("security.postfix.compatibility")
|
||||
def reconfigure_postfix(setting_name, old_value, new_value):
|
||||
if old_value != new_value:
|
||||
|
|
Loading…
Add table
Reference in a new issue