Overview of Traffic Shaping configuration and automation
mainThe traffic shaping system in KumoMTA is organized into several functional areas:
- Scoping: Using domain, egress source, and site name to target specific rules.
- MX Rollups & Provider Blocks: Mapping domain entries to site names and using pattern-based matching for MX records.
- Configuration Files: Using the
shaping.luahelper with TOML/JSON files to define rules. - Option Resolution: Understanding the precedence and merging logic when multiple configuration layers apply.
- Custom Shaping: Writing custom rules to supplement or replace defaults.
- Automation: Using the TSA daemon for real-time adjustments based on remote host feedback.
- Testing: Using the
validate-shapingtool to check syntax.