Skip to content

[Bug]: sieve rule getting added as external rule #302

@apollo79

Description

@apollo79

Description

A specific rule gets added / displayed as external rule (managed outside bulwark) AND as internal rule.

Steps to Reproduce

  1. Got to Settings → Filters
  2. Add a rule with content like this:
    • Match type: Any
    • Conditions: multiple conditions, I am using different "subject" "contains" and then "Report domain: mydomain.com" or "Report Domain: mydomain.com" or "Report Domain: {mydomain.com}" to filter for different dmarc reports
    • Actions: Mark as read and Move to folder
  3. Save the rule and look at the filter / rule list

Expected Behavior

I expect to be added normally as an internal rule.

Actual Behavior

It gets added as internal rule but additionally gets displayed as external rule.
I also see it in stalwart, in the filters file doubled under the bulwark rules AND under the comment which indicates external rules, but removing it manually from the external rules doesn't make it work

Bulwark Version

1.6.6 (docker logs say 1.6.7 but UI says 1.6.6)

Stalwart Mail Server Version

0.16.5

Browser

Firefox

Operating System

Linux

Screenshots / Screen Recording

No response

Relevant Logs or Error Output

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    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