Fixed config
This commit is contained in:
@@ -33,11 +33,14 @@ ConfigDictTemplate = [
|
|||||||
{
|
{
|
||||||
"option": "enabled",
|
"option": "enabled",
|
||||||
"default": "true",
|
"default": "true",
|
||||||
|
"customizable": True,
|
||||||
|
"values": ["true", "false"],
|
||||||
"question": "Do you want to setup an antispam utility?"
|
"question": "Do you want to setup an antispam utility?"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"option": "type",
|
"option": "type",
|
||||||
"default": "rspamd",
|
"default": "rspamd",
|
||||||
|
"customizable": True,
|
||||||
"question": "Please select your antispam utility",
|
"question": "Please select your antispam utility",
|
||||||
"values": ["rspamd", "amavis"]
|
"values": ["rspamd", "amavis"]
|
||||||
}
|
}
|
||||||
@@ -201,6 +204,13 @@ ConfigDictTemplate = [
|
|||||||
"customizable": True,
|
"customizable": True,
|
||||||
"question": "Please enter Modoboa db password",
|
"question": "Please enter Modoboa db password",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"option": "cron_error_recipient",
|
||||||
|
"default": "root",
|
||||||
|
"customizable": True,
|
||||||
|
"question":
|
||||||
|
"Please enter a mail recipient for cron error reports"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"option": "extensions",
|
"option": "extensions",
|
||||||
"default": ""
|
"default": ""
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
#
|
#
|
||||||
PYTHON=%{venv_path}/bin/python
|
PYTHON=%{venv_path}/bin/python
|
||||||
INSTANCE=%{instance_path}
|
INSTANCE=%{instance_path}
|
||||||
|
MAILTO=%{cron_error_recipient}
|
||||||
|
|
||||||
# Operations on mailboxes
|
# Operations on mailboxes
|
||||||
%{dovecot_enabled}* * * * * %{dovecot_mailboxes_owner} $PYTHON $INSTANCE/manage.py handle_mailbox_operations
|
%{dovecot_enabled}* * * * * %{dovecot_mailboxes_owner} $PYTHON $INSTANCE/manage.py handle_mailbox_operations
|
||||||
|
|||||||
Reference in New Issue
Block a user