small fix part 2
This commit is contained in:
@@ -257,7 +257,7 @@ ConfigDictTemplate = [
|
|||||||
"values": [
|
"values": [
|
||||||
{
|
{
|
||||||
"option": "enabled",
|
"option": "enabled",
|
||||||
"default": ["antispam.enabled=true", "antispam.type=amavis"],
|
"default": ["antispam.enabled=true", "antispam.type=rspamd"],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"option": "user",
|
"option": "user",
|
||||||
|
|||||||
2
run.py
2
run.py
@@ -239,7 +239,7 @@ def main(input_args):
|
|||||||
# Show concerned components
|
# Show concerned components
|
||||||
components = []
|
components = []
|
||||||
for section in config.sections():
|
for section in config.sections():
|
||||||
if section in ["general", "database", "mysql", "postgres",
|
if section in ["general", "antispam", "database", "mysql", "postgres",
|
||||||
"certificate", "letsencrypt", "backup"]:
|
"certificate", "letsencrypt", "backup"]:
|
||||||
continue
|
continue
|
||||||
if (config.has_option(section, "enabled") and
|
if (config.has_option(section, "enabled") and
|
||||||
|
|||||||
Reference in New Issue
Block a user