TSA shaping file doesn't seem to update?

I’ve added a general rule that suspend all emails to Google. However, it does not seem to update the shaping file and all emails are going through.

[provider."google"]
match=[
        {MXSuffix=".google.com"},
        {MXSuffix=".googlemail.com"}
]

[[provider."google".automation]]
regex = ""
action = "Suspend"
duration = "1 hour"
curl -s 'http://localhost:8008/get_config_v1/shaping.toml'
# Generated by tsa-daemon
# Number of entries: 0



# Generated by tsa-daemon
# Number of entries: 0

Some lines from the service:

Dec 15 15:51:15 <mta-host> kumod[3967]: 2025-12-15T15:51:15.939525Z  INFO localset-0 kumod::spool: Using concurrency 1 for spooling in
Dec 15 15:51:15 <mta-host> kumod[3967]: 2025-12-15T15:51:15.939924Z  INFO localset-0 config::epoch: config_epoch_task: starting
Dec 15 15:51:15 <mta-host> kumod[3967]: 2025-12-15T15:51:15.943649Z  INFO localset-0 config::epoch: config_epoch_task: config change detected "<hash>"
Dec 15 15:51:15 <mta-host> kumod[3967]: 2025-12-15T15:51:15.959213Z  INFO spawned-task-kumo.tsa.config.monitor lua: <policy-path>/shaping.lua:228: TSA config monitor running
Dec 15 15:51:15 <mta-host> kumod[3967]: 2025-12-15T15:51:15.975133Z  INFO                           localset-0 kumod::spool: start_spool: enumeration done, spooled in 0 msgs over 35.880419ms 0/s
Dec 15 15:51:15 <mta-host> kumod[3967]: 2025-12-15T15:51:15.976227Z  INFO                           localset-0 kumo_server_common::start: initialization complete
Dec 15 15:51:15 <mta-host> kumod[3967]: 2025-12-15T15:51:15.989069Z  INFO spawned-task-kumo.tsa.config.monitor lua: <policy-path>/shaping.lua:234: TSA config changed
Dec 15 15:53:47 <mta-host> kumod[3967]: 2025-12-15T15:53:47.366622Z  INFO spawned-task-kumo.tsa.config.monitor lua: <policy-path>/shaping.lua:234: TSA config changed
Dec 15 15:55:17 <mta-host> kumod[3967]: 2025-12-15T15:55:17.699028Z  INFO spawned-task-kumo.tsa.config.monitor lua: <policy-path>/shaping.lua:234: TSA config changed
Dec 15 16:00:53 <mta-host> kumod[3967]: 2025-12-15T16:00:53.884919Z  INFO spawned-task-kumo.tsa.config.monitor lua: <policy-path>/shaping.lua:234: TSA config changed
Dec 15 16:06:24 <mta-host> kumod[3967]: 2025-12-15T16:06:24.067912Z  INFO spawned-task-kumo.tsa.config.monitor lua: <policy-path>/shaping.lua:234: TSA config changed
Dec 15 16:06:59 <mta-host> kumod[3967]: 2025-12-15T16:06:59.091332Z  INFO spawned-task-kumo.tsa.config.monitor lua: <policy-path>/shaping.lua:234: TSA config changed
Dec 15 16:12:29 <mta-host> kumod[3967]: 2025-12-15T16:12:29.641438Z  INFO spawned-task-kumo.tsa.config.monitor lua: <policy-path>/shaping.lua:234: TSA config changed

Here’s a copy of my init file: Hastebin

I tried this as well:

[[provider."google".automation]]
regex = [
  "250 2\\.0\\.0",   # common Gmail/Google success
  "^250 ",          # fallback: any 250 reply
]
trigger = "Immediate"
action = "SuspendTenant"
duration = "50 minutes"

Were the rules overridden by other configuration files (does the order matter)?

Nah this is the last file in the array

emm. I thinks you are do some test.
Maybe code:250 really don’t need to suspend…

Yeah, ofc. I am just testing and want to see if it works

I just test, also not work.:innocent:

[["gmail.com".automation]]
regex = "ok"
trigger = "Immediate"
action = "SuspendTenant"
duration = "10m"

[["gmail.com".automation]]
regex = "^250"
trigger = "Immediate"
action = "SuspendTenant"
duration = "10m"

I tried another one without much success

[“xxxxxx”]
connection_limit = 1
max_deliveries_per_connection = 1
idle_timeout = “30s”
consecutive_connection_failures_before_delay = 1

connection_limit = 0 maybe work

Deepwiki said..

Let me try that out

Dec 16 06:50:31 mta-1-campaignlark kumod[13943]: } as EgressPathConfig: limit must be 1 or larger

Hmm no

[provider."xxx"]
match=[
    {MXSuffix="xxx"},
    {MXSuffix=".xxx"}
]
connection_limit = 1

[["xxxx".automation]]  
regex = ".*"  
action = "Suspend"  
duration = "1 hour"
```||

Let me check this out

No good

Did nothing

Doesn’t generate any data, idk why :slightly_frowning_face:

Ok hmmm