Does a post-quantum upgrade of Postfix need new hardware, a licence or a redesign?
Postfix's post-quantum behaviour depends on the Postfix version and on the OpenSSL version it is built and run with, which must be OpenSSL 3.5 or later. The sources reviewed for this page list no separate edition, paid tier or licence for post-quantum support, because Postfix is open source software. For mail administrators running Postfix relays and gateways, the upgrade is therefore a software and configuration change, not a hardware purchase or a redesign of the mail flow. Security leads who record the answer should note that the sources reviewed here are the Postfix 3.10 and 3.11 release notes, the postconf source, the TLS_README, the Postfix 3.11.5 announcement and a postfix-devel thread dated 2025-10-18. The 3.11.5 announcement carries no stated date, so confirm its release date from the mirror before citing it.
In practice, the work sits in three places. The first is the OpenSSL library that Postfix links against, since the TLS key exchange is performed there, and the build or distribution package determines whether OpenSSL 3.5 or later is present. The second is the Postfix version itself: the release notes record post-quantum support for OpenSSL 3.5 as a forward-compatibility change in 3.10, and a related change to the tls_eecdh_auto_curves default in 3.11. The third is the tls_eecdh_auto_curves and tls_ffdhe_auto_groups parameters. With OpenSSL 3.5 or later, the default for tls_eecdh_auto_curves delays the hybrid X25519MLKEM768 key share until a server requests it, to avoid failures with network equipment that mishandles large TLS Client Hello messages. Administrators who need finer control can set both parameters to empty so that group selection is handled through the OpenSSL configuration file, which the postconf text describes for Postfix 3.6.17, 3.7.13, 3.8.8, 3.9.2 and later.
Which Postfix and OpenSSL versions the sources cover for post-quantum key exchange
This table lists each Postfix line and the OpenSSL requirement that the sources tie to post-quantum key exchange, with the date each source entry carries. Read it by first matching your Postfix line, then confirming your OpenSSL build is 3.5 or later, because the post-quantum behavior depends on both. Entries without a stated date are marked as such, so confirm those with the vendor before recording them in an inventory.
| Component | What the sources say | Source date | What to confirm |
|---|---|---|---|
| Postfix 3.10 | Adds support for OpenSSL 3.5 post-quantum cryptography as a forward-compatibility change, and allows tls_eecdh_auto_curves and tls_ffdhe_auto_groups to be set empty so OpenSSL configuration controls selection | Entry dated 20250212 | Your exact 3.10.x patch level and that it is built against OpenSSL 3.5 or later |
| Postfix 3.11 | Changes the tls_eecdh_auto_curves default with OpenSSL 3.5 and later to avoid problems with network equipment that mishandles TLS hello messages larger than one Ethernet TCP segment | Feature entry dated 20251102 | That your build and runtime OpenSSL both report 3.5 or later, not only the build-time version |
| Postfix 3.6.17 to 3.9.2 (legacy lines) | The sources describe setting both tls_eecdh_auto_curves and, where available, tls_ffdhe_auto_groups to empty so group selection happens through OpenSSL configuration, with tls_config_file given as an example | Dated in the postconf source text; no separate date is stated for this entry | Whether your installed patch level falls in this range and that your OpenSSL configuration file sets the groups you want |
| OpenSSL 3.5 or later | The sources treat OpenSSL 3.5 or later as the build and runtime requirement for the post-quantum behavior described for Postfix, and earlier versions lack the ML-DSA algorithm used in the SNI test | Stated in the Postfix 3.11 release notes and postconf source | The OpenSSL version actually loaded at runtime, and your distribution's packaging of OpenSSL |
| Postfix 3.11.5 | Named as the current stable release in the latest announcement the sources opened, which also covers legacy releases 3.10.12, 3.9.13, 3.8.19, 3.7.21, 3.6.19 and 3.5.26 | No stated date in the source | The release date with the vendor, since this entry carries none |
Which parts of Postfix the upgrade touches: OpenSSL, TLS groups, certificates and DANE
A Postfix upgrade for post-quantum cryptography comes down to a handful of places where it does TLS, certificates and DANE checks. Each card below names one of those places, says what it means for the upgrade, and gives the version the sources tie it to.
The OpenSSL library underneath
Postfix does not implement TLS itself. It relies on the OpenSSL library for every handshake, which means the post-quantum behavior you get depends on the OpenSSL version Postfix is built and run against. The Postfix TLS_README warns that enabling TLS brings in hundreds of thousands of lines of OpenSSL code, so the library is a large part of the attack surface. Check the OpenSSL version on each relay first, since the 3.5 or later line is the one the sources tie to post-quantum support.
TLS_READMEKey exchange groups
The tls_eecdh_auto_curves and tls_ffdhe_auto_groups parameters decide which elliptic curves and FFDHE groups Postfix offers during key exchange. Since Postfix 3.10 and 3.11, the default with OpenSSL 3.5 or later delays the hybrid X25519MLKEM768 key share until a server asks for it, to avoid large TLS Client Hello messages that some network equipment mishandles. Setting both parameters to empty hands group selection to OpenSSL configuration, which is how you control the groups finely. tls_ffdhe_auto_groups exists from Postfix 3.8 onward.
Postfix 3.11 notesCipher lists and TLS protocol versions
The tls_medium_cipherlist and tls_high_cipherlist parameters set the OpenSSL cipher lists Postfix uses, and the postconf text strongly advises against changing tls_high_cipherlist. The smtpd_tls_mandatory_ciphers parameter defaults to medium grade for the SMTP server. Protocol versions are set separately through smtpd_tls_protocols and smtp_tls_protocols, and the mandatory variants have defaulted to >=TLSv1 since Postfix 3.6. Review these settings alongside the OpenSSL version, because a cipher list change can break interoperability with peers that cannot negotiate the newer options.
postconf sourceServer certificates and the chain file
Since Postfix 3.4, the preferred way to configure SMTP server keys and certificates is the smtpd_tls_chain_files parameter, where one file holds the private key followed by its certificate chain. The TLS_README advises against splitting the key and chain into separate files, and it says the server private key must not be encrypted. Confirm that no server key is passphrase-protected before any certificate is replaced, because an encrypted key will stop the server from starting cleanly. Server certificates are required under TLS 1.3, so they cannot be skipped.
TLS_READMEClient certificates and their signatures
Postfix can present client certificates when it acts as an SMTP client, and the signatures on those certificates come from the algorithms OpenSSL uses. The TLS_README says post-quantum certificates selected through SNI will matter once certificate authorities issue them, and its ML-DSA test needs OpenSSL 3.5 or later because earlier versions do not support ML-DSA. Do not assume a post-quantum certificate can be issued or accepted by a partner until the partner's certificate authority supports it. Check which client certificates each relay presents today.
TLS_READMEDANE TLSA matching
Postfix supports DANE at the smtp_tls_security_level values dane and dane-only, where certificate matching relies on TLSA records published under DNSSEC. Under dane-only, delivery is deferred if usable TLSA records are missing or certificate verification fails, so a change in the certificate or key algorithm can stop mail to DANE-protected domains. The fingerprint digest defaults to sha256 from Postfix 3.6. Check which partner domains publish TLSA records before changing any certificate, because those domains will reject a mismatch.
TLS_READMEHow the upgrade differs for a Postfix relay, a gateway fronting clients, and a self-built server
When Postfix is installed from a Linux distribution, the Postfix version and the OpenSSL library both come from the distribution's packages, so the post-quantum behavior you get is set by those packages rather than by the Postfix project directly. Postfix uses OpenSSL for all of its TLS work, so the OpenSSL version the package is linked against decides which key exchange and certificate options are available. Check both versions before planning any change.
- Postfix version: Run
postconf mail_versionto read the installed release, and compare it with the release notes that describe OpenSSL 3.5 support. - OpenSSL version: Run
openssl versionand confirm the library Postfix links against withldd $(which postfix)or the equivalent on your platform, since the system OpenSSL and the one linked by Postfix can differ. - Backport policy: Ask the distribution whether security backports change the behavior of
tls_eecdh_auto_curvesor the OpenSSL library version, because a patched package may keep an older version number. - Packaged defaults: Record the output of
postconf -dfor the TLS group and cipher parameters, since the packaged defaults may differ from the upstream defaults. - Upgrade channel: Confirm with the distribution how and when a newer OpenSSL or Postfix package will reach your release.
Before planning changes, confirm both the Postfix package version and the OpenSSL version it is linked against, because the distribution controls both.
When Postfix is built from source, you choose the OpenSSL library it compiles against, so the post-quantum options available depend on that choice and on the Postfix release you build. The Postfix configuration exposes the OpenSSL-related parameters, and the build determines which OpenSSL headers and library Postfix uses. Keeping the build and runtime libraries in agreement is the main thing to verify.
- Build target: Confirm the OpenSSL version used at build time, since Postfix support for newer OpenSSL features depends on compiling against a sufficiently recent library.
- Runtime match: Confirm that the same OpenSSL shared library is loaded at runtime, because a server built against one version and run with another may behave differently.
- Group parameters: Review
tls_eecdh_auto_curvesand, where available,tls_ffdhe_auto_groupsin your configuration, since their defaults are set in the Postfix source for the release you build. - Empty settings: The Postfix release notes describe setting both group parameters to an empty value so that group selection is handled through OpenSSL configuration, which requires a matching OpenSSL configuration file.
- Rebuild on library change: Plan a rebuild and retest whenever you move to a different OpenSSL version.
Document the exact Postfix release, OpenSSL version and build flags for each server, so the configuration can be reproduced and reviewed.
A relay that sends mail to partner SMTP servers has to work with systems outside your control, and that changes what a post-quantum change can break. Postfix's default group behavior with OpenSSL 3.5 and later was chosen partly to avoid interoperability problems with SMTP servers that mishandle large TLS Client Hello messages. The hybrid X25519MLKEM768 key share is delayed until the server explicitly requests it, which keeps the Client Hello smaller for most connections.
- Delayed key share: When Postfix is compiled against OpenSSL 3.5 or later, the default only delays generation of the hybrid key share until the server asks for it, to avoid interoperability issues with SMTP servers that cannot handle the resulting large Client Hello.
- Network equipment: The Postfix 3.11 release notes describe the change as a way to avoid problems with network equipment that mishandles TLS hello messages larger than one Ethernet TCP segment.
- Partner impact: The sources do not say how much this affects partner servers, so confirm the behavior with each partner before changing group settings.
- Outbound testing: Test delivery to representative partners after any change to
smtp_tls_*or group parameters, and watch for handshake failures in the mail log. - Fallback: Keep a documented way to revert the group configuration if a partner fails to complete the handshake.
Before changing a relay, ask each important partner whether its SMTP stack handles larger TLS hellos, and confirm the current delivery results with the Postfix version you run.
What the hybrid X25519MLKEM768 group changes on the wire
The change that matters most for SMTP servers is what happens to the TLS Client Hello. Postfix's tls_eecdh_auto_curves parameter holds the prioritized list of groups the client and server offer, and the postconf text says that when Postfix is compiled against OpenSSL 3.5 or later, its default is a minor adjustment of the OpenSSL compiled-in default. That adjustment delays generating the hybrid X25519MLKEM768 key share until the server explicitly requests it. Without that delay, every TLS handshake would carry a large post-quantum key share in the first message. The postconf source is the authoritative statement of this default, so confirm it against postconf -d tls_eecdh_auto_curves on your own build rather than relying on this summary.
The reason for the adjustment is interoperability. The postconf text says the delay exists to avoid problems with SMTP servers that cannot handle the resulting large TLS Client Hello. The Postfix 3.11 release notes, under a feature entry dated 20251102 titled "Post-quantum cryptography support", describe the same default change and tie it to network equipment that mishandles TLS hello messages larger than one Ethernet TCP segment. A Client Hello that spills past that size can be split across segments, and a middlebox that inspects or rewrites only the first segment may drop, reset or misparse the connection. The sources do not name specific equipment models or vendors, so the reader should identify any such devices on the path with their own testing.
For an operator, the practical question is which path your mail takes and whether it is affected. Mail relays, SMTP gateways and inspection appliances between your server and its peers are the likely places where an oversized hello could fail. The Postfix 3.11 entry is the version-specific source for the default, so check the Postfix version and OpenSSL version you actually run. If you need different behavior, the postconf text describes setting both tls_eecdh_auto_curves and, where available, tls_ffdhe_auto_groups to empty so that group selection is managed through OpenSSL configuration. Test any change against the relays you exchange mail with before rolling it out.
Steps to plan a Postfix post-quantum upgrade, in order
This sequence establishes which Postfix and OpenSSL versions are in use, which elliptic curve and FFDHE settings control the TLS key exchange, and whether relay partners can complete a handshake with the larger post-quantum Client Hello. It ends with a dated record that an engineer and a security lead can review and reuse.
Confirm the Postfix version in use
The mail administrator runs postconf mail_version on each Postfix host and records the result. The version is then compared against the 3.10 and 3.11 release notes, and against the 3.11.5 announcement, which lists 3.11.5 as the current stable release along with legacy releases 3.10.12, 3.9.13, 3.8.19, 3.7.21, 3.6.19 and 3.5.26. The step is closed when every host has a recorded version and each one is either named in those announcements or flagged as needing an update. Post-quantum behavior depends on the Postfix version, so the record must list the exact version rather than a major release.
Confirm the OpenSSL version used at build and run time
The engineer checks the OpenSSL version the Postfix binary is linked against and the one the host loads at runtime, since Postfix TLS relies on the OpenSSL library. Post-quantum support in the relevant settings requires OpenSSL 3.5 or later, so the command output for both the build and the runtime library is recorded. The step is closed when the two versions are written down, and any host where they differ, or where the version is earlier than 3.5, is marked for follow-up. The sources do not state how a given distribution packages OpenSSL, so the engineer should confirm that with the distribution's own documentation.
Review the elliptic curve and FFDHE group settings
The engineer reads the current values of tls_eecdh_auto_curves and tls_ffdhe_auto_groups with postconf and compares them with the defaults shown by postconf -d. The postconf text says that with OpenSSL 3.5 or later, the default for tls_eecdh_auto_curves delays generation of the hybrid X25519MLKEM768 key share until a server requests it, to avoid problems with SMTP servers that cannot handle the larger Client Hello. The text also says that for fine-grained control, an administrator can set both parameters to empty so selection happens through OpenSSL configuration, which applies to Postfix 3.6.17, 3.7.13, 3.8.8, 3.9.2 and later. The step is closed when each host has a written record of the active values, whether they match the default, and whether any custom override exists, with the reason for it.
Test relay partners for handshake failures
The mail engineer identifies the relay partners and SMTP servers that Postfix connects to most often, then tests TLS handshakes to them with the current settings, watching for failures or stalls. The reason for this test is the risk the postconf text names: a larger hello can break network equipment or SMTP servers that mishandle TLS messages larger than one Ethernet TCP segment. Test results should be logged per partner, including the Postfix version, OpenSSL version and the setting values in use. The step is closed when every regularly used partner has a recorded handshake result. The sources do not say how many partners to test or how long each test should run, so the team should set that scope in its own plan.
Document the findings and the decisions
The engineer writes up the versions, OpenSSL build and runtime results, the setting values, and the relay test outcomes in one record per host or per environment. The record notes any partner that failed, what was changed or left in place, and who approved the decision. The security lead reviews the record to confirm it matches the current Postfix release notes and the postconf defaults. The step is closed when the document is signed off and stored where the next review can find it. Because Postfix's maintainers have said they prefer to rely on OpenSSL defaults rather than adding explicit curves, the record should also note which settings are customized, so later updates do not overwrite a deliberate choice without review.
What the sources do not show about Postfix post-quantum upgrades, and what to ask
The Postfix sources cover OpenSSL-based TLS, curve settings and an OpenSSL 3.5 forward-compatibility change, but they leave several upgrade questions open. The four points below are where an upgrade plan should stop and ask the vendor or check the build directly.
Post-quantum server certificates and ML-DSA
The TLS_README says post-quantum certificates selected through SNI will become relevant once certificate authorities issue them, and its ML-DSA SNI test needs OpenSSL 3.5 or later because earlier versions lack ML-DSA. The sources do not say whether Postfix supports a post-quantum certificate type or ML-DSA signing for server certificates in a released version. Ask the vendor for a yes or no per release, and ask whether smtpd_tls_chain_files accepts such certificates without a code change. Test the ML-DSA SNI case on your own OpenSSL 3.5 build before planning around it.
Reliance on OpenSSL defaults
On 2025-10-18, Wietse Venema replied on postfix-devel to a patch adding X25519MLKEM768 to the curve default list, calling that approach a maintenance nightmare and proposing that explicit curve settings be deprecated in favor of OpenSSL defaults. The sources do not say whether that proposal was adopted or when. Ask the vendor whether tls_eecdh_auto_curves and tls_ffdhe_auto_groups will be removed or kept, and what key-share behavior you should expect from the default. Record the OpenSSL version your build uses, since the default depends on it.
Hybrid-only mode
The sources show a hybrid post-quantum key share, X25519MLKEM768, that Postfix's default delays until a server requests it, to avoid problems with SMTP peers that cannot handle large Client Hello messages. The sources do not say whether Postfix offers a mode that accepts only hybrid key exchange, or a setting that rejects classical-only handshakes. Ask the vendor whether such a mode exists, which parameter controls it, and how a peer that refuses large hellos would be handled. Plan for a period where both hybrid and classical peers are present.
Vendor timeline for post-quantum support
The release notes record a post-quantum change in Postfix 3.10, dated 2025-02-12, and a 3.11 entry dated 2025-11-02 that adjusts the curve default. The sources do not contain a published roadmap, deprecation date or end-of-life schedule for classical-only TLS settings. Ask the vendor for a dated plan covering the branches you run, the release that will change the defaults, and the notice period before any default or parameter is removed. Compare it against the 3.11.5 stable release and the legacy branches you still support.
3.11 release notesQuestions administrators and vendor-risk reviewers ask about a Postfix post-quantum upgrade
Is Postfix quantum safe?
The sources do not support calling Postfix quantum safe, and nothing here amounts to a compliance or certification claim. What the sources do show is that Postfix 3.10 added support for OpenSSL 3.5 post-quantum cryptography as a forward-compatibility change (release notes dated 20250212), and Postfix 3.11 lists a "Post-quantum cryptography support" entry dated 20251102. Postfix does not implement post-quantum algorithms itself. TLS runs through OpenSSL, so what a given server negotiates depends on the Postfix version and the OpenSSL version it is built and run with. Confirm the exact negotiated groups in your own environment and with the vendor, and do not record Postfix as quantum safe based on this page alone.
Which Postfix version is needed for post-quantum support?
The sources tie post-quantum behavior to two things: a Postfix release that includes the change, and an OpenSSL build of 3.5 or later. Postfix 3.10 added OpenSSL 3.5 post-quantum support, and the 3.11 release notes carry the later default change for OpenSSL 3.5 and later. The current stable release named in the 3.11.5 announcement is 3.11.5, which also covers legacy releases 3.10.12, 3.9.13, 3.8.19, 3.7.21, 3.6.19 and 3.5.26. Note that the 3.11.5 announcement carries no stated date. Check the Postfix version your distribution ships, because packaged builds may lag upstream, and confirm which OpenSSL library it links against.
Does the Postfix post-quantum upgrade cost extra or need a license?
The sources list Postfix as open source software and name no separate editions, so the sources do not describe any license fee for the post-quantum behavior. The main cost drivers are internal: time to verify the Postfix and OpenSSL versions, testing of mail flows with partner relays, and any OpenSSL or operating system upgrade your platform needs. The sources do not give a price or effort estimate. Before you rely on that, confirm with the vendor and your distribution whether any support contract or packaged build changes the terms, and ask what the upgrade requires in your environment.
What breaks when Postfix moves to post-quantum key exchange?
The main known risk is interoperability with network equipment and peer SMTP servers. The postconf text says the default for tls_eecdh_auto_curves, when Postfix is built against OpenSSL 3.5 or later, delays generation of the hybrid X25519MLKEM768 key share until the server explicitly requests it. That is to avoid problems with SMTP servers and network devices that cannot handle the much larger TLS Client Hello. The Postfix 3.11 release notes say the same default change was made for this reason. Test with the peers your mail actually uses, watch for handshake failures and delayed delivery, and treat any change to the curve or group lists as a deliberate, tested change.
What should we ask the Postfix vendor before upgrading?
Ask which Postfix release and which OpenSSL version a supported build uses for TLS, and whether the post-quantum key exchange is enabled by default in that build. Ask what the tls_eecdh_auto_curves and tls_ffdhe_auto_groups defaults are for your version, and how to set them to the empty value so selection runs through OpenSSL configuration, which the postconf text describes for Postfix 3.6.17, 3.7.13, 3.8.8, 3.9.2 and later. Ask whether any post-quantum certificate or signature support is planned, since the TLS_README says that depends on certificate authorities issuing such certificates. Record the answers with their dates, because the sources here are dated and the vendor may change them.
Can our team upgrade Postfix alone, or do we need outside help?
Whether your team can do this alone depends on how Postfix is deployed. The change itself is mostly version and configuration work: confirming the Postfix and OpenSSL builds, setting the curve and group parameters deliberately, and testing mail flows with your relays. Teams with several relays, strict partner requirements or custom OpenSSL configuration may find that testing takes the most effort. DeployOpen can plan, implement and test a Postfix change inside your own infrastructure and prepare the evidence your compliance team asks for, under a fixed-scope agreement with written deliverables. DeployOpen does not issue audit reports or certifications, and the scope and timeline depend on your environment.
Where the hybrid key exchange sits in a Postfix relay handshake
The diagram starts with a sending SMTP server opening a TLS connection to the Postfix relay. The Client Hello carries the client's key share, and the relay answers with the group it selects from tls_eecdh_auto_curves and tls_ffdhe_auto_groups, as resolved by OpenSSL. Hybrid X25519MLKEM768 is generated only when the server explicitly requests it, so the Client Hello stays small. Check whether a middlebox on the path handles large Client Hello messages, because that is where a handshake can fail.
Sequence of a sending server's TLS handshake to a Postfix relay, with the hybrid group negotiated at the relay.
How DeployOpen helps plan and carry out a Postfix post-quantum upgrade
DeployOpen approaches a Postfix post-quantum upgrade as a planned change to a running mail server. Work starts with an inventory of the OpenSSL build, TLS parameters, certificates and relay links, then moves to a tested configuration and documented handover. Engagements are agreed as fixed scope before work begins.
How we scope
- We confirm the Postfix version and the OpenSSL version it is built and run with, since post-quantum behavior depends on both.
- We inventory the TLS parameters in use, including tls_eecdh_auto_curves, tls_ffdhe_auto_groups, the cipher lists and smtpd_tls_chain_files.
- The written scope lists the relays, client links and DANE settings covered, and what the engagement leaves out.
How we build
- We test any change to tls_eecdh_auto_curves or tls_ffdhe_auto_groups against the SMTP partners that must still connect.
- We check that interoperability with partners that mishandle large TLS Client Hello messages is preserved before any change goes live.
- We verify certificate and key handling, and that the server private key and chain remain correctly ordered in each file.
How we hand over
- We document each parameter changed, its previous value, the reason for the change and the Postfix and OpenSSL versions tested.
- We provide a rollback procedure covering the configuration files and the relay settings changed during the upgrade.
- We record test results for opportunistic and mandatory TLS, DANE and AUTH-over-TLS so your team can check them later.
How we support
- Ongoing support is available as a retainer for version updates, OpenSSL upgrades and changes to TLS parameters.
- We can retest after each Postfix release, since the postconf defaults for curve and group selection have changed across versions.
- Confirm with us whether a retainer or a one-off retest fits your mail volume and partner list, using a written quote.

