Expand description
TOML configuration loading for the SMTP server.
The server reads a single config.toml file at startup to determine
bind address, TLS certificates, credential sources, handler backends,
and per-domain routing rules. load_config parses the file into
a strongly-typed Config hierarchy.
Structs§
- Auth
Config - Authentication configuration.
- Config
- Top-level configuration for the Mailsis SMTP server.
- Routing
Config - Routing configuration with rules and a default handler.
- Routing
Rule Config - A single routing rule that matches by address or domain.
- Smtp
Config - SMTP server configuration.
- TlsConfig
- TLS certificate configuration.
Enums§
- Config
Error - Errors that can occur while loading configuration.
- Handler
Config - Configuration for a named message handler.
- Transformer
Config - Configuration for a message transformer.
Functions§
- load_
config - Loads configuration from a TOML file.