diff --git a/core/rspamd/conf/options.inc b/core/rspamd/conf/options.inc index 22bae565..6ccbfb0a 100644 --- a/core/rspamd/conf/options.inc +++ b/core/rspamd/conf/options.inc @@ -1,3 +1 @@ -{% if RELAYNETS %} -local_networks = [{{ RELAYNETS }}]; -{% endif %} +local_networks = [{{ SUBNET }}{% if SUBNET6 %}, {{ SUBNET6 }}{% endif %}{% if RELAYNETS %}, {{ RELAYNETS }}{% endif %}]; diff --git a/towncrier/newsfragments/2635.bugfix b/towncrier/newsfragments/2635.bugfix new file mode 100644 index 00000000..7c7a3f15 --- /dev/null +++ b/towncrier/newsfragments/2635.bugfix @@ -0,0 +1 @@ +Fix sieve/out of office replies by adding SUBNET to rspamd's local_networks