The Nethserver Mail module’s SMTP and IMAP services do not support post-quantum key echanges (to protect against Harvest Now, Decrypt Later attacks). (The admin HTTPS interface supports it.)
This is particularly problematic since authentication through SMTP and IMAP are usually done in plaintext, and are only protected by TLS. Therefore, recording authenticated traffic to mail servers is a particular good source for harvesting sensitive credentials (if you can crack the encryption, which might be possible once good enough quantum computers become available).
Hi Felix, welcome to the NethServer community, and thanks for the detailed report.
A base container image upgrade for the Mail module is already planned. Possible options are:
continue on Alpine, moving to a newer release
switch to Debian
In both cases, an upgrade to Dovecot 2.4 will be considered as part of the same effort, since it’s tied to the same base-image work you referenced in PR #202. We don’t have a firm timeline yet, but it’s on the roadmap rather than an open question of “if.”
On urgency: recording traffic today to decrypt later is a real risk, not just a theoretical one, but we still don’t know how soon it could actually be broken. Either way, the planned upgrade should bring post-quantum support along with it.
Thanks, Felix. We’ll keep the topic updated when there’s concrete progress on the base image / Dovecot side. Your report is useful because it gives a clear security motivation for prioritizing the work, not just a dependency-refresh reason.
If you notice specific upstream changes or compatibility notes around PQ key exchange support in Postfix/Dovecot/OpenSSL while we’re working on it, feel free to add them here. That kind of input helps a lot when evaluating the safest upgrade path.
Are there any plans regarding on how to fix this situation?
So “it’s on the roadmap” does, in fact, address the question, because it says that yes, there are such plans. And given that the current base image for Mail goes EOL in November, that does suggest a timeline, though Davide hasn’t given one specifically.