Overview
Stalwart MTA provides a flexible and robust framework for managing outbound email delivery. Messages sent to both local and external domains are processed through a strategy-driven architecture that allows precise control over how, when, and where each message is delivered. This architecture evaluates delivery strategies dynamically for each recipient, enabling the system to adapt its behavior based on the message context, such as the recipient's domain, the sender’s identity, message type, or assigned priority.
Through its delivery strategies, Stalwart can control every aspect of outbound delivery, including queue selection, retry policies, routing logic, connection parameters, and transport security enforcement. These strategies work together to ensure messages are handled according to defined policies while allowing per-recipient delivery decisions, independent retry logic, and conditional routing.
Outbound delivery in Stalwart supports advanced features such as isolated virtual queues for different traffic types, secure transmission with DANE and MTA-STS, configurable STARTTLS behavior, and the ability to relay mail through designated hosts when necessary. The system is designed to scale efficiently, manage delivery concurrency, and enforce compliance with authentication and security standards.
The following sections describe how to configure outbound delivery, beginning with the definition of strategies and virtual queues.