tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
dovecot: add lmtp support
Nikolay Amiantov
10 years ago
dea8ebcf
3a2275dd
+6
-1
1 changed file
expand all
collapse all
unified
split
nixos
modules
services
mail
dovecot.nix
+6
-1
nixos/modules/services/mail/dovecot.nix
···
10
''
11
base_dir = /var/run/dovecot2/
12
13
-
protocols = ${optionalString cfg.enableImap "imap"} ${optionalString cfg.enablePop3 "pop3"}
14
''
15
+ (if cfg.sslServerCert!="" then
16
''
···
68
enableImap = mkOption {
69
default = true;
70
description = "Start the IMAP listener (when Dovecot is enabled).";
0
0
0
0
0
71
};
72
73
user = mkOption {
···
10
''
11
base_dir = /var/run/dovecot2/
12
13
+
protocols = ${optionalString cfg.enableImap "imap"} ${optionalString cfg.enablePop3 "pop3"} ${optionalString cfg.enableLmtp "lmtp"}
14
''
15
+ (if cfg.sslServerCert!="" then
16
''
···
68
enableImap = mkOption {
69
default = true;
70
description = "Start the IMAP listener (when Dovecot is enabled).";
71
+
};
72
+
73
+
enableLmtp = mkOption {
74
+
default = false;
75
+
description = "Start the LMTP listener (when Dovecot is enabled).";
76
};
77
78
user = mkOption {