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
