Skip to content

Rspamd error: action greylist has no threshold being set and it is not a no threshold action  #7816

@jmartens

Description

@jmartens

Steps to reproduce

  1. Install mail app
  2. Do not enable greylisting

Expected behavior

No error on greylist in rspand management UI

Actual behavior

Time Worker type PID Module Internal ID Message
1/14/2026, 8:06:01 AM main 26 cfg tiyp5e action greylist has no threshold being set and it is not a no threshold action

Components
mail

See also

N/A

Root cause
The issue is caused by the actions.j2 template, it should read:

# 0
{% if env.greylist_enabled == "" -%}
# greylisting disabled
{% else -%}
greylist = 5;
{% endif -%}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions