diff options
author | Nikolay Amiantov <ab@fmap.me> | 2015-07-03 00:26:49 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2015-07-28 12:33:29 +0300 |
commit | dea8ebcfc531b8f2b4892652ef053da7e270801b (patch) | |
tree | 71f1d737cf8da642604407aa98f9268103d4924f /nixos | |
parent | 3a2275dd841544bd64717c5ff99c62fa38904b12 (diff) | |
download | nixlib-dea8ebcfc531b8f2b4892652ef053da7e270801b.tar nixlib-dea8ebcfc531b8f2b4892652ef053da7e270801b.tar.gz nixlib-dea8ebcfc531b8f2b4892652ef053da7e270801b.tar.bz2 nixlib-dea8ebcfc531b8f2b4892652ef053da7e270801b.tar.lz nixlib-dea8ebcfc531b8f2b4892652ef053da7e270801b.tar.xz nixlib-dea8ebcfc531b8f2b4892652ef053da7e270801b.tar.zst nixlib-dea8ebcfc531b8f2b4892652ef053da7e270801b.zip |
dovecot: add lmtp support
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/mail/dovecot.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nixos/modules/services/mail/dovecot.nix b/nixos/modules/services/mail/dovecot.nix index 50ff1b38db12..fca0d2a7f616 100644 --- a/nixos/modules/services/mail/dovecot.nix +++ b/nixos/modules/services/mail/dovecot.nix @@ -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."; |