dovecot: add lmtp support
This commit is contained in:
parent
3a2275dd84
commit
dea8ebcfc5
@ -10,7 +10,7 @@ let
|
||||
''
|
||||
base_dir = /var/run/dovecot2/
|
||||
|
||||
protocols = ${optionalString cfg.enableImap "imap"} ${optionalString cfg.enablePop3 "pop3"}
|
||||
protocols = ${optionalString cfg.enableImap "imap"} ${optionalString cfg.enablePop3 "pop3"} ${optionalString cfg.enableLmtp "lmtp"}
|
||||
''
|
||||
+ (if cfg.sslServerCert!="" then
|
||||
''
|
||||
@ -70,6 +70,11 @@ in
|
||||
description = "Start the IMAP listener (when Dovecot is enabled).";
|
||||
};
|
||||
|
||||
enableLmtp = mkOption {
|
||||
default = false;
|
||||
description = "Start the LMTP listener (when Dovecot is enabled).";
|
||||
};
|
||||
|
||||
user = mkOption {
|
||||
default = "dovecot2";
|
||||
description = "Dovecot user name.";
|
||||
|
Loading…
Reference in New Issue
Block a user