diff --git a/rootfs/usr/local/bin/setup.sh b/rootfs/usr/local/bin/setup.sh index 4a8b682..1e55801 100644 --- a/rootfs/usr/local/bin/setup.sh +++ b/rootfs/usr/local/bin/setup.sh @@ -437,7 +437,7 @@ fi # Disable greylisting policy if [ "$DISABLE_GREYLISTING" = true ]; then echo "[INFO] Greylisting policy is disabled" - echo "enabled = false;" > /etc/rspamd/local.d/greylisting.conf + echo "enabled = false;" > /etc/rspamd/local.d/greylist.conf else echo "[INFO] Greylisting policy is enabled" fi diff --git a/test/reverse.bats b/test/reverse.bats index e70b5b3..9d1a575 100644 --- a/test/reverse.bats +++ b/test/reverse.bats @@ -327,7 +327,7 @@ load 'test_helper/bats-assert/load' } @test "checking rspamd: greylisting policy is disabled (reverse configuration)" { - run docker exec mailserver_reverse cat /etc/rspamd/local.d/greylisting.conf + run docker exec mailserver_reverse cat /etc/rspamd/local.d/greylist.conf assert_success assert_output "enabled = false;" }