Yahoo has too many domains, such as yahoo.com, yahoo.com.br, yahoo.com.au, yahoo.co.jp.
UseCase: We need to apply rate limiting to specific IPs to warm-up.
we really like using the helper approach because it allows non-technical support staff to maintain these configuration files. However, once Lua code is involved, technical personnel have to step in. Thank you.
Yeah, it is the `sources part that does not work.
This works [provider.“mairs.org”]
This does not [provider.“mairs.org”.sources.“demo-IP1”]
also worth calling out: make sure that you understand the difference between max_message_rate and provider_max_message_rate. The former will apply a limit per-source-per-site-name, while the latter will be per-source-per-provider, so make sure that you pick the one that makes sense for your use case
only supports max_message_rate; it does not support provider_max_message_rate.
Error message:
/opt/kumomta/share/policy-extras/shaping.lua:571: in function </opt/kumomta/share/policy-extras/shaping.lua:566>
Error: Initialization raised an error: call validate_config callback: provider: yahoo: interpreting provider 'yahoo' source 'haproxy-ip1' provider_max_message_rate = "10/h"
as EgressPathConfig: unknown field provider_max_message_rate
stack traceback:
[C]: in local 'poll'
[string "?"]:27: in field 'load'
/opt/kumomta/share/policy-extras/shaping.lua:571: in function </opt/kumomta/share/policy-extras/shaping.lua:566>
However, based on my understanding, what I need is per-source-per-provider.