Get in Touch
 Duration 21 hours

Course Outline

Introduction to Stalwart

  • Overview of Stalwart and its design philosophy
  • Architectural benefits of a single Rust binary
  • Comparative analysis with traditional mail stacks
  • Licensing models: AGPL-3.0 and Enterprise

Installation and Initial Configuration

  • Review of system requirements and supported platforms
  • Deployment using Docker and Docker Compose
  • Direct installation on Linux via binary
  • Selecting the appropriate database backend
  • Guided setup via bootstrap mode and the configuration wizard

Core Protocols and DNS Setup

  • Configuring SMTP for both inbound and outbound mail
  • Setting up IMAP4 and JMAP for mail access
  • Enabling POP3 for legacy client compatibility
  • Configuring DNS records: MX, SPF, DKIM, and DMARC
  • Implementing automated DKIM key rotation

Security and Authentication Frameworks

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

Spam and Phishing Defense

  • Understanding the built-in spam filter architecture
  • Leveraging AI and LLM-based classification
  • Using statistical Bayesian classifiers
  • Integrating DNS blocklists and Pyzor
  • Employing greylisting and spam traps
  • Mitigating phishing and homographic attacks

Storage and Search Infrastructure

  • Choosing storage options: RocksDB, PostgreSQL, MySQL, or SQLite
  • Utilizing cloud blob storage via S3 and Azure
  • Enhancing performance with Redis caching
  • Implementing full-text search using built-in or external engines

Collaborative Services

  • Managing CalDAV and JMAP Calendars
  • Handling CardDAV and JMAP Contacts
  • Utilizing WebDAV for file storage
  • Implementing sharing features with ACLs and JMAP Sharing

Multi-Tenancy and User Administration

  • Enforcing domain and tenant isolation
  • Managing user accounts and groups
  • Configuring mailing lists and aliases
  • Setting up subaddressing and catch-all addresses
  • Defining disk quotas for users and tenants

Administration and Monitoring Tools

  • Using the WebUI dashboard and statistical reports
  • Scripting and automation via CLI
  • Managing the SMTP queue
  • Collecting metrics with OpenTelemetry and Prometheus
  • Automating events via Webhooks

Clustering and High Availability

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

Advanced Configuration Techniques

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

Migration and Integration Strategies

  • Migrating from Postfix and Dovecot
  • Migrating from Microsoft Exchange
  • Configuring Autoconfig and Autodiscover
  • Automating DNS management
  • Executing API-driven declarative deployments

Requirements

  • Proficiency with the Linux command line
  • Fundamental knowledge of DNS concepts
  • Basic understanding of email principles is beneficial, though not mandatory

Target Audience

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

Custom Corporate Training

Training solutions designed exclusively for businesses.

  • Customized 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 4350 € + VAT*

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

Upcoming Courses

Related Categories