Added new option to create an alias on mailbox rename.

see #1250
This commit is contained in:
Antoine Nguyen
2017-09-29 09:10:20 +02:00
parent 4c087f474c
commit 5692baff20
8 changed files with 158 additions and 3 deletions
+8
View File
@@ -108,6 +108,14 @@ class AdminParametersForm(param_forms.AdminParametersForm):
)
)
create_alias_on_mbox_rename = YesNoField(
label=ugettext_lazy("Create an alias when a mailbox is renamed"),
initial=False,
help_text=ugettext_lazy(
"Create an alias using the old address when a mailbox is renamed."
)
)
# Visibility rules
visibility_rules = {
"valid_mxs": "enable_mx_checks=True",