You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-06-27 00:41:00 +02:00
Forbidden_file_extension.map could not be overridden.
This commit is contained in:
@ -16,7 +16,8 @@ env = system.set_env()
|
||||
config_files = []
|
||||
for rspamd_file in glob.glob("/conf/*"):
|
||||
conf.jinja(rspamd_file, env, os.path.join("/etc/rspamd/local.d", os.path.basename(rspamd_file)))
|
||||
config_files.append(os.path.basename(rspamd_file))
|
||||
if rspamd_file != '/conf/forbidden_file_extension.map':
|
||||
config_files.append(os.path.basename(rspamd_file))
|
||||
|
||||
for override_file in glob.glob("/overrides/*"):
|
||||
if os.path.basename(override_file) not in config_files:
|
||||
|
Reference in New Issue
Block a user