[Rspamd-Users] Custom Endpoint Issue

Andrew Lewis rspamd-users at judo.za.org
Fri Sep 12 22:03:19 UTC 2025


Hi Kendall,

The docs are wrong...

The file should be at $LOCAL_CONFDIR/controller.lua - likely that's
/etc/rspamd/

It should return results in the following format:

return {
  example = {
    hello = {
      handler = handle_hello,
      enable = false,     -- Normal password sufficient for read-only
operation
      need_task = false,
    }
  }
}

...and there would be an endpoint registered at /plugins/example/hello

Best,
-AL.


More information about the Users mailing list