Get in Touch

Course Outline

Introduction to Stalwart

  • Understanding Stalwart's purpose and origins
  • Single Rust binary architecture
  • Comparison with traditional mail stacks
  • Licensing: AGPL-3.0 and Enterprise editions

Installation and Initial Setup

  • System requirements and platform support
  • Installation via Docker and Docker Compose
  • Bare-metal installation on Linux
  • Selecting a database backend
  • Bootstrap mode and setup wizard

Core Protocols and DNS

  • SMTP configuration for inbound and outbound traffic
  • IMAP4 and JMAP for mail access
  • POP3 support for legacy clients
  • DNS records: MX, SPF, DKIM, DMARC
  • Automated DKIM key rotation

Security and Authentication

  • TLS configuration with ACME certificate provisioning
  • DANE and MTA-STS for transport security
  • Authentication backends: internal, LDAP, OIDC, SQL
  • OAuth 2.0 and two-factor authentication
  • Access control lists and permissions management
  • Rate limiting and automated IP blocking

Spam and Phishing Protection

  • Built-in spam filter architecture
  • AI and LLM-driven classification
  • Statistical Bayesian classifier
  • DNS blocklists and Pyzor integration
  • Greylisting and spam traps
  • Protection against phishing and homographic attacks

Storage and Search Backends

  • Storage options: RocksDB, PostgreSQL, MySQL, SQLite
  • Cloud blob storage with S3 and Azure compatibility
  • Caching mechanisms using Redis
  • Full-text search: built-in vs external engines

Collaboration Services

  • CalDAV and JMAP Calendars
  • CardDAV and JMAP Contacts
  • WebDAV file storage
  • Sharing capabilities with ACLs and JMAP Sharing

Multi-Tenancy and User Management

  • Domain and tenant isolation strategies
  • User accounts and groups management
  • Mailing lists and aliases configuration
  • Subaddressing and catch-all addresses
  • Disk quotas per user and tenant

Administration and Monitoring

  • WebUI dashboard and statistics overview
  • CLI usage for scripting and automation
  • SMTP queue management
  • OpenTelemetry and Prometheus metrics integration
  • Webhooks for event-driven automation

Clustering and High Availability

  • Peer-to-peer cluster coordination
  • Clustering with Kafka and Redis
  • Read replicas and sharded storage configurations
  • Kubernetes deployment strategies
  • Fault tolerance design principles

Advanced Configuration

  • Sieve scripting language overview
  • MTA hooks and milter integration
  • Routing rules and virtual queues setup
  • Envelope rewriting techniques

Migration and Integration

  • Migrating from Postfix and Dovecot
  • Migrating from Microsoft Exchange
  • Autoconfig and Autodiscover implementation
  • Automated DNS management tools
  • API-driven declarative deployment approaches

Requirements

  • Proficiency in working on the Linux command line
  • Basic understanding of DNS concepts
  • Familiarity with email fundamentals is beneficial but not mandatory

Audience

  • System administrators
  • DevOps and platform engineers
  • IT infrastructure specialists
  • Anyone managing or planning a self-hosted email deployment
 21 Hours

Number of participants


Price per participant

Upcoming Courses

Related Categories