Skip to content

Please document a working regexp example #52

Open

Description

@cweiske

The issue from rspamd/rspamd.com#423 is still valid:

The regexp module documentation does not contain a working example.

Please show an example (and document it) that can go in local.d/regexp.conf - Ideally one that will immediately a) learn spam and reject or b) drop or discard

It would also help if using a regexp on a specific header like "subject" is be shown.

Activity

  1. rohieb commented on Jul 31, 2026

    @rohieb

    Yes, please. There is one for Lua, but there should also be one for the regexp.conf. Especially I'm trying to get a working regex with selectors that all seem to fail with "selector regexp: '%s' has no selector part" in configtest… a working example would really help to find out if I'm doing something wrong here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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