Fix guides / Self-hosted mail (Postfix / Exim)

Self-hosted mail (Postfix / Exim)

About 1 hour

Mail servers negotiate STARTTLS through OpenSSL. With OpenSSL 3.5+, add the hybrid group to the MTA configuration.

Steps
  1. Upgrade OpenSSL on the MTA host to 3.5+ and the MTA to a current version.
  2. Postfix: add the hybrid group to the curve list (snippet).
  3. Exim: set tls_eccurve / openssl_options to include X25519MLKEM768, following the docs for your version.
  4. Re-scan.
Postfix main.cf
tls_eecdh_auto_curves = X25519MLKEM768 X25519 prime256v1 secp384r1
Verify it worked

Requires OpenSSL 3.5+. Expected output includes X25519MLKEM768.

openssl s_client -connect yourdomain.com:443 -servername yourdomain.com -groups X25519MLKEM768 -tls1_3 </dev/null 2>&1 | grep -i "group"

To re-run the full scan:

Implementation support We can take your engineers through the change on a call, or run the rollout across all affected endpoints.
Book a scoping call
Post-quantum fix: Self-hosted mail (Postfix / Exim) · AreWeSecured