Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rootfs/usr/local/bin/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/reverse.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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;"
}
Expand Down
Loading