Expand description
Recipient-based message routing for the SMTP pipeline.
When an email arrives, the router decides which delivery handler should process it by matching the recipient address against a prioritized list of rules (exact address, domain, wildcard domain, catch-all). Unmatched recipients fall through to a configurable default handler.
Structs§
- Message
Router - Routes incoming email messages to handlers based on recipient address rules.
- Routing
Rule - A single routing rule that maps a pattern to a handler.
Enums§
- Match
Type - The type of match for a routing rule.
Functions§
- determine_
match_ type - Determines the match type from a routing rule configuration.
- extract_
pattern - Extracts the pattern string from a routing rule configuration.