dovecot: add lmtp support

+6 -1
+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)."; 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 {