Get in Touch
 Duration 21 hours

Course Outline

Introduction to Stalwart

  • Overview of Stalwart and the rationale behind its development
  • Architecture of the single Rust binary
  • Comparison against traditional mail stacks
  • Licence details: AGPL-3.0 and Enterprise

Installation and Initial Setup

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

Core Protocols and DNS

  • SMTP configuration for incoming and outgoing mail
  • 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 with ACME certificate provisioning
  • DANE and MTA-STS transport security
  • Authentication backends: internal, LDAP, OIDC, SQL
  • OAuth 2.0 and two-factor authentication
  • Access control lists and permission settings
  • Rate limiting and automated IP blocking

Spam and Phishing Protection

  • Architecture of the built-in spam filter
  • Classification using AI and Large Language Models
  • Statistical Bayesian classifiers
  • DNS blocklists and Pyzor
  • Greylisting and spam traps
  • Defences against phishing and homographic attacks

Storage and Search Backends

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

Collaboration Services

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

Multi-Tenancy and User Management

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

Administration and Monitoring

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

Clustering and High Availability

  • Peer-to-peer cluster coordination
  • Clustering using Kafka and Redis
  • Read replicas and sharded storage
  • Deployment on Kubernetes
  • Fault tolerance design principles

Advanced Configuration

  • The Sieve scripting language
  • MTA hooks and milter integration
  • Routing rules and virtual queues
  • Envelope rewriting

Migration and Integration

  • Migrating from Postfix and Dovecot
  • Migrating from Exchange
  • Autoconfig and Autodiscover
  • Automated DNS management
  • API-driven declarative deployments

Requirements

  • Confidence working within the Linux command line
  • A basic grasp of DNS concepts
  • Knowledge of email fundamentals is beneficial but not essential

Audience

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

Custom Corporate Training

Training solutions designed exclusively for businesses.

  • Customised Content: We adapt the syllabus and practical exercises to the real goals and needs of your project.
  • Flexible Schedule: Dates and times adapted to your team's agenda.
  • Format: Online (live), In-company (at your offices), or Hybrid.
Investment

Price per private group, online live training, starting from £4800 + VAT*

Contact us for an exact quote and to hear our latest promotions

Provisional Upcoming Courses (Contact Us For More Information)

Related Categories