summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ymir.nix24
1 files changed, 23 insertions, 1 deletions
diff --git a/ymir.nix b/ymir.nix
index e73ae546..85f091ef 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -715,11 +715,33 @@ in rec {
715 enableImap = true; 715 enableImap = true;
716 enableLmtp = true; 716 enableLmtp = true;
717 enablePop3 = false; 717 enablePop3 = false;
718 enablePAM = true; 718 enablePAM = false; # do that manualy
719 sslServerCert = "/var/lib/acme/yggdrasil.li/fullchain.pem"; 719 sslServerCert = "/var/lib/acme/yggdrasil.li/fullchain.pem";
720 sslServerKey = "/var/lib/acme/yggdrasil.li/key.pem"; 720 sslServerKey = "/var/lib/acme/yggdrasil.li/key.pem";
721 mailLocation = "maildir:~/mail:LAYOUT=index:UTF-8"; 721 mailLocation = "maildir:~/mail:LAYOUT=index:UTF-8";
722 extraConfig = '' 722 extraConfig = ''
723 userdb {
724 driver = passwd
725 }
726
727 passdb {
728 driver = pam
729 args = dovecot2
730
731 return_success = continue-ok
732 }
733
734 userdb {
735 driver = passwd-file
736 args = /srv/mail/dovecot.passwd
737
738 skip = notfound
739
740 return_failure = continue
741 return_internalfail = continue
742 return_success = continue
743 }
744
723 mail_plugins = $mail_plugins quota 745 mail_plugins = $mail_plugins quota
724 mailbox_list_index = yes 746 mailbox_list_index = yes
725 postmaster_address = postmaster@yggdrasil.li 747 postmaster_address = postmaster@yggdrasil.li