mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-12-28 20:10:34 +05:00
adds imap / pop3 options and support
This commit is contained in:
parent
f6d2f7818f
commit
1ca3e7ef22
@ -24,6 +24,8 @@ let
|
|||||||
mail_dir = "/var/vmail";
|
mail_dir = "/var/vmail";
|
||||||
cert_file = "mail-server.crt";
|
cert_file = "mail-server.crt";
|
||||||
key_file = "mail-server.key";
|
key_file = "mail-server.key";
|
||||||
|
enable_imap = true;
|
||||||
|
enable_pop3 = false;
|
||||||
in
|
in
|
||||||
let
|
let
|
||||||
vmail_user = [{
|
vmail_user = [{
|
||||||
@ -70,6 +72,8 @@ in
|
|||||||
# dovecot
|
# dovecot
|
||||||
services.dovecot2 = {
|
services.dovecot2 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
enableImap = enable_imap;
|
||||||
|
enablePop3 = enable_pop3;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user