Get in Touch
 Duration 21 hours

Course Outline

Introduction to Stalwart

  • Overview of Stalwart and its design rationale
  • Single Rust binary architecture
  • Comparison with traditional mail stacks
  • Licensing details: AGPL-3.0 and Enterprise options

Installation and Initial Setup

  • System requirements and supported platforms
  • Installing via Docker and Docker Compose
  • Installing from binary on Linux
  • Selecting the database backend
  • Using bootstrap mode and the setup wizard

Core Protocols and DNS

  • Configuring SMTP for inbound and outbound traffic
  • Accessing mail via IMAP4 and JMAP
  • Supporting legacy clients with POP3
  • Setting DNS records: MX, SPF, DKIM, DMARC
  • Automating DKIM key rotation

Security and Authentication

  • Implementing TLS with ACME certificate provisioning
  • Utilizing DANE and MTA-STS for transport security
  • Configuring authentication backends: internal, LDAP, OIDC, SQL
  • Setting up OAuth 2.0 and two-factor authentication
  • Managing access control lists and permissions
  • Applying rate limiting and automated IP blocking

Spam and Phishing Protection

  • Understanding the built-in spam filter architecture
  • Classification via AI and LLM-driven models
  • Using statistical Bayesian classifiers
  • Integrating DNS blocklists and Pyzor
  • Implementing greylisting and spam traps
  • Protecting against phishing and homographic attacks

Storage and Search Backends

  • Storage options: RocksDB, PostgreSQL, MySQL, SQLite
  • Cloud blob storage integration with S3 and Azure
  • Caching strategies using Redis
  • Full-text search: built-in features versus external engines

Collaboration Services

  • Managing calendars via CalDAV and JMAP
  • Handling contacts with CardDAV and JMAP
  • Storing files using WebDAV
  • Sharing resources via ACLs and JMAP Sharing

Multi-Tenancy and User Management

  • Isolating domains and tenants
  • Managing user accounts and groups
  • Administering mailing lists and aliases
  • Configuring subaddressing and catch-all addresses
  • Setting disk quotas per user and tenant

Administration and Monitoring

  • Using the WebUI dashboard and statistics tools
  • Utilizing the CLI for scripting and automation
  • Managing the SMTP queue
  • Tracking metrics with OpenTelemetry and Prometheus
  • Automating events through Webhooks

Clustering and High Availability

  • Coordinating peer-to-peer clusters
  • Implementing clustering with Kafka and Redis
  • Setting up read replicas and sharded storage
  • Deploying on Kubernetes
  • Designing for fault tolerance

Advanced Configuration

  • Writing scripts using the Sieve language
  • Integrating MTA hooks and milters
  • Defining routing rules and virtual queues
  • Performing envelope rewriting

Migration and Integration

  • Migrating from Postfix and Dovecot
  • Migrating from Exchange
  • Configuring Autoconfig and Autodiscover
  • Managing DNS automatically
  • Deploying via API-driven declarative methods

Requirements

  • Proficiency with the Linux command line
  • A foundational understanding of DNS concepts
  • Basic knowledge of email fundamentals is beneficial but not mandatory

Target Audience

  • System administrators
  • DevOps and platform engineers
  • IT infrastructure specialists
  • Professionals managing or planning self-hosted email deployments

Number of participants


Price per participant

Upcoming Courses

Related Categories