mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
mail/rspmd: redis port (#424)
* mail/rspamd: automatically use the right redis port * mail/spamd: bump version
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
PLUGIN_NAME= rspamd
|
||||
PLUGIN_VERSION= 0.1
|
||||
PLUGIN_VERSION= 0.2
|
||||
PLUGIN_COMMENT= Protect your network from spam
|
||||
PLUGIN_DEPENDS= rspamd
|
||||
PLUGIN_MAINTAINER= franz.fabian.94@gmail.com
|
||||
|
||||
@@ -16,8 +16,7 @@
|
||||
{% if helpers.exists('OPNsense.Rspamd.general.enable_redis_plugin') and OPNsense.Rspamd.general.enable_redis_plugin == '1' %}
|
||||
{% if helpers.exists('OPNsense.redis.general.enabled') and OPNsense.redis.general.enabled == '1' %}
|
||||
|
||||
servers = "::1";
|
||||
write_servers = "::1";
|
||||
servers = "[::1]{% if helpers.exists('OPNsense.redis.general.port') and OPNsense.redis.general.port != '' %}:{{ OPNsense.redis.general.port }}{% endif %}";
|
||||
timeout = 10s;
|
||||
#db = "0";
|
||||
{% if helpers.exists('OPNsense.redis.security.password') and OPNsense.redis.security.password != '' %}
|
||||
|
||||
Reference in New Issue
Block a user