mail/rspmd: redis port (#424)

* mail/rspamd: automatically use the right redis port
* mail/spamd: bump version
This commit is contained in:
Fabian Franz, BSc
2017-12-10 17:01:29 +01:00
committed by GitHub
parent df533acfc7
commit bb1ece196e
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -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 != '' %}