KumoCorp / kumomta

The first Open-Source high-performance MTA developed from the ground-up for high-volume email sending environments.
https://kumomta.com
Apache License 2.0
252 stars 33 forks source link

SuspendTenant not working in global or sitename scope #290

Closed MHillyer closed 1 month ago

MHillyer commented 1 month ago

What Operating System are you seeing this problem on?

Ubuntu

What Hardware is this system running?

VM

KumoMTA version

Latest Dev

Did you try the latest release to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version that I tried

Describe the bug

As reported by a customer:

We have clear evidence that SuspendTenant doesn't work in the global default scope or in a sitename scope. Even though this tenant gets suspended, it still seems to be attempting deliveries every 1s or so.

    [["default".automation]]
    regex = "unusual rate of mail originating from your DKIM domain"
    trigger = "Immediate"
    action = "SuspendTenant"
    duration = "15 minutes"

This graph is showing gmail.com only errors for things like Gmail has detected an unusual rate of mail originating from your DKIM domain that match the above TSA and create the 5m (known bug) suspensions. Graph is showing one specific account, with only those deferral error types, and one egress IP. The pattern is consistent across other IPs that this sender is sending from.

image

To Reproduce

Configure a SuspendTenant automation in a Global or Sitename Scope

Configuration

See above

Expected Behavior

Should suspend, does not properly suspend.

Anything else?

No response

MHillyer commented 1 month ago

Fixed in https://github.com/KumoCorp/kumomta/commit/12b3ae51aca5fdc27a540f2ba6f72cc7c342c6a8

MHillyer commented 1 month ago

My mistake, wrong issue for that commit.