Browse Source

[Conf] Add missing includes

tags/1.9.0
Vsevolod Stakhov 5 years ago
parent
commit
dd4ad1e446
2 changed files with 7 additions and 0 deletions
  1. 4
    0
      conf/modules.d/external_services.conf
  2. 3
    0
      src/plugins/lua/external_services.lua

+ 4
- 0
conf/modules.d/external_services.conf View File

# `whitelist` points to a map of IP addresses. Mail from these addresses is not scanned. # `whitelist` points to a map of IP addresses. Mail from these addresses is not scanned.
whitelist = "/etc/rspamd/antivirus.wl"; whitelist = "/etc/rspamd/antivirus.wl";
} }

.include(try=true,priority=5) "${DBDIR}/dynamic/external_services.conf"
.include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/external_services.conf"
.include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/external_services.conf"
} }

+ 3
- 0
src/plugins/lua/external_services.lua View File

end end
end end


rspamd_logger.infox(rspamd_config, 'registered external services rule: %s',
rule.name)

return scan_cb, rule return scan_cb, rule
end end



Loading…
Cancel
Save