Get in Touch
 Duration 21 hours

Course Outline

Introduction to Stalwart

  • Overview of Stalwart and its design objectives
  • Architecture based on a single Rust binary
  • Evaluation against conventional mail infrastructure stacks
  • Licensing models: AGPL-3.0 and Enterprise

Installation and Initial Setup

  • System prerequisites and supported platforms
  • Deployment utilizing Docker and Docker Compose
  • Native installation on Linux via binary package
  • Selection of the database backend
  • Bootstrap mode and configuration wizard

Core Protocols and DNS

  • SMTP configuration for inbound and outbound traffic
  • IMAP4 and JMAP standards for mail access
  • POP3 support for legacy client applications
  • DNS record configuration: MX, SPF, DKIM, DMARC
  • Automated DKIM key rotation procedures

Security and Authentication

  • TLS encryption with ACME certificate management
  • DANE and MTA-STS transport layer security
  • Authentication integration: internal, LDAP, OIDC, SQL
  • OAuth 2.0 and two-factor authentication protocols
  • Access control lists and permission management
  • Rate limiting mechanisms and automated IP blocking

Spam and Phishing Protection

  • Native spam filtering architecture
  • Classification driven by AI and Large Language Models
  • Statistical Bayesian filtering techniques
  • Integration with DNS blocklists and Pyzor
  • Greylisting and spam trap implementation
  • Mitigation strategies for phishing and homographic attacks

Storage and Search Backends

  • Data storage options: RocksDB, PostgreSQL, MySQL, SQLite
  • Cloud object storage using S3 and Azure
  • Performance optimization with Redis caching
  • Full-text search capabilities: built-in vs. external engines

Collaboration Services

  • Calendar management via CalDAV and JMAP
  • Contact management via CardDAV and JMAP
  • File storage utilizing WebDAV
  • Resource sharing through ACLs and JMAP Sharing

Multi-Tenancy and User Management

  • Isolation of domains and tenants
  • Management of user accounts and groups
  • Configuration of mailing lists and aliases
  • Subaddressing and catch-all address policies
  • Enforcement of disk quotas per user and tenant

Administration and Monitoring

  • WebUI dashboard and statistical reporting
  • Command-line interface for scripting and automation
  • Management of the SMTP queue
  • Telemetry integration via OpenTelemetry and Prometheus
  • Event-driven automation through webhooks

Clustering and High Availability

  • Coordination in peer-to-peer cluster environments
  • Distributed clustering using Kafka and Redis
  • Implementation of read replicas and sharded storage
  • Deployment within Kubernetes environments
  • Design principles for fault tolerance

Advanced Configuration

  • Programming using the Sieve scripting language
  • Integration of MTA hooks and milters
  • Custom routing rules and virtual queue management
  • Modification of mail envelopes

Migration and Integration

  • Migration strategies from Postfix and Dovecot
  • Migration strategies from Microsoft Exchange
  • Configuration via Autoconfig and Autodiscover
  • Automated DNS record management
  • Declarative deployments driven by APIs

Requirements

  • Proficiency in utilizing the Linux command line
  • Fundamental understanding of DNS concepts
  • Knowledge of email basics is advantageous but not mandatory

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