dovecot: add lmtp support

+6 -1
+6 -1
nixos/modules/services/mail/dovecot.nix
··· 10 10 '' 11 11 base_dir = /var/run/dovecot2/ 12 12 13 - protocols = ${optionalString cfg.enableImap "imap"} ${optionalString cfg.enablePop3 "pop3"} 13 + protocols = ${optionalString cfg.enableImap "imap"} ${optionalString cfg.enablePop3 "pop3"} ${optionalString cfg.enableLmtp "lmtp"} 14 14 '' 15 15 + (if cfg.sslServerCert!="" then 16 16 '' ··· 68 68 enableImap = mkOption { 69 69 default = true; 70 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)."; 71 76 }; 72 77 73 78 user = mkOption {