Add enableManageSieve option to open port 4190
This commit is contained in:
parent
cd9e790f21
commit
30e4f136fd
12
default.nix
12
default.nix
|
@ -280,6 +280,18 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
enableManageSieve = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
Whether to enable ManageSieve, setting this option to true will open
|
||||
port 4190 in the firewall.
|
||||
|
||||
The ManageSieve protocol allows users to manage their Sieve scripts on
|
||||
a remote server with a supported client, including Thunderbird.
|
||||
'';
|
||||
};
|
||||
|
||||
virusScanning = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
|
|
|
@ -28,6 +28,7 @@ in
|
|||
++ lib.optional enableImapSsl 993
|
||||
++ lib.optional enablePop3 110
|
||||
++ lib.optional enablePop3Ssl 995
|
||||
++ lib.optional enableManageSieve 4190
|
||||
++ lib.optional (certificateScheme == 3) 80;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue