Disable plaintext access per RFC 8314

This deprecates the `enableImap` and `enablePop` options and opens them
up for future removal.
This commit is contained in:
Martin Weinelt
2025-09-22 03:45:22 +02:00
parent b49ae46f22
commit 54f37811dd
2 changed files with 11 additions and 1 deletions

View File

@@ -851,9 +851,11 @@ in
enableImap = mkOption {
type = types.bool;
default = true;
default = false;
description = ''
Whether to enable IMAP with STARTTLS on port 143.
The use of this port is deprecated per RFC 8314 4.1.
'';
};
@@ -894,6 +896,8 @@ in
default = false;
description = ''
Whether to enable POP3 with STARTTLS on port on port 110.
The use of this port is deprecated per RFC 8314 4.1.
'';
};