Skip to main content
STALWART JMAPRELAY FOUNDRY // JMAP + IMAP + SMTP RUST MAIL SIZING STUDIO ROCKSDB + TANTIVY FTS | VULTR PORT 25 PTR | INTERSERVER STORAGE SLICE | 2026-10-29
StalwartMailVPS
StalwartMailVPS Affiliate Notice: Outbound /go/ links marked rel="sponsored" may earn a partner commission at zero added cost (Affiliate Policy).
Mail Server Presets

OIDC Single Sign-On, App Passwords & Webmail Integration

Connect Stalwart authentication to Authentik, Keycloak, or PocketID via OpenID Connect while issuing scoped app passwords for legacy IMAP clients.

OIDC PKCE + App Passwords · Zero Cleartext Passwords · JMAP Ready

OIDC Single Sign-On, App Passwords & Webmail Integration
Mail engineering baseline verified 2026-10-29 by JMAPRelay Foundry.

Bridging Modern OIDC MFA With Legacy IMAP Clients

Standard Thunderbird and Apple Mail IMAP setups struggle with interactive OIDC MFA prompts unless configured for OAuth2. Issuing per-device app passwords inside Stalwart while enforcing OIDC on webmail and JMAP preserves strict MFA without breaking desktop sync.

Locking Down the Management API

Never expose the Stalwart WebAdmin management port directly on 0.0.0.0 without IP allowlists or an authenticated reverse proxy.

Measured Thresholds & Stalwart Configuration Parameters

Auth ComponentRecommended ConfigurationSecurity Benefit
Directory BackendInternal + OIDC / LDAP bridgeCentralizes MFA and employee offboarding
JMAP / Webmail AuthOAuth 2.0 / OIDC Bearer tokensEliminates static passwords on browser webmail clients
Legacy IMAP / SMTPPer-device scoped App PasswordsAllows instant single-device revocation without reset
Admin ConsoleBind WebAdmin to 127.0.0.1 + SSH/VPNKeeps port 8080 admin interface off public internet
OIDC PKCE + App Passwords · Zero Cleartext Passwords · JMAP Ready Deploy Vultr NVMeInterServer Slice