Skip to content

Commit df5f28a

Browse files
authored
Fix greylist module setting path (#85)
1 parent 11361e8 commit df5f28a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

rootfs/usr/local/bin/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ fi
437437
# Disable greylisting policy
438438
if [ "$DISABLE_GREYLISTING" = true ]; then
439439
echo "[INFO] Greylisting policy is disabled"
440-
echo "enabled = false;" > /etc/rspamd/local.d/greylisting.conf
440+
echo "enabled = false;" > /etc/rspamd/local.d/greylist.conf
441441
else
442442
echo "[INFO] Greylisting policy is enabled"
443443
fi

test/reverse.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ load 'test_helper/bats-assert/load'
327327
}
328328

329329
@test "checking rspamd: greylisting policy is disabled (reverse configuration)" {
330-
run docker exec mailserver_reverse cat /etc/rspamd/local.d/greylisting.conf
330+
run docker exec mailserver_reverse cat /etc/rspamd/local.d/greylist.conf
331331
assert_success
332332
assert_output "enabled = false;"
333333
}

0 commit comments

Comments
 (0)