summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ymir.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/ymir.nix b/ymir.nix
index eca08f40..96592639 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -522,7 +522,7 @@ in rec {
522 enableImap = true; 522 enableImap = true;
523 enableLmtp = true; 523 enableLmtp = true;
524 enablePop3 = false; 524 enablePop3 = false;
525 enablePAM = true; 525 enablePAM = false;
526 sslServerCert = "/var/lib/acme/yggdrasil.li/fullchain.pem"; 526 sslServerCert = "/var/lib/acme/yggdrasil.li/fullchain.pem";
527 sslServerKey = "/var/lib/acme/yggdrasil.li/key.pem"; 527 sslServerKey = "/var/lib/acme/yggdrasil.li/key.pem";
528 mailLocation = "maildir:~/mail:LAYOUT=index:UTF-8"; 528 mailLocation = "maildir:~/mail:LAYOUT=index:UTF-8";
@@ -532,6 +532,15 @@ in rec {
532 postmaster_address = postmaster@yggdrasil.li 532 postmaster_address = postmaster@yggdrasil.li
533 recipient_delimiter = + 533 recipient_delimiter = +
534 534
535 userdb {
536 driver = passwd
537 }
538
539 passdb {
540 driver = pam
541 args = username_format=%n dovecot2
542 }
543
535 service auth { 544 service auth {
536 unix_listener /var/lib/postfix/queue/private/dovecot-auth { 545 unix_listener /var/lib/postfix/queue/private/dovecot-auth {
537 mode = 0600 546 mode = 0600