Skip to content

Typo error in setup.sh for greylist disabling feature #84

Description

@dauriata

In file rootfs/usr/local/bin/setup.sh correct name for settings of the greylist module is greylist.conf instead of greylisting.conf as stated in rspamd docs https://docs.rspamd.com/modules/greylisting/

# Disable greylisting policy
if [ "$DISABLE_GREYLISTING" = true ]; then
echo "[INFO] Greylisting policy is disabled"
echo "enabled = false;" > /etc/rspamd/local.d/greylisting.conf
else
echo "[INFO] Greylisting policy is enabled"
fi

should be

# Disable greylisting policy
if [ "$DISABLE_GREYLISTING" = true ]; then
  echo "[INFO] Greylisting policy is disabled"
  echo "enabled = false;" > /etc/rspamd/local.d/greylist.conf
else
  echo "[INFO] Greylisting policy is enabled"
fi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions