diff options
| author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-11-07 13:28:57 +0100 |
|---|---|---|
| committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-11-07 13:28:57 +0100 |
| commit | 8da92243cc8c0c20dd79e7aa738149feaed921f7 (patch) | |
| tree | c9d8a83ac66e6cae2d652e9a01292624d62f6fa6 | |
| parent | 6e510f3427eef4351dd6113bed3ea26009eff09a (diff) | |
| download | nixos-8da92243cc8c0c20dd79e7aa738149feaed921f7.tar nixos-8da92243cc8c0c20dd79e7aa738149feaed921f7.tar.gz nixos-8da92243cc8c0c20dd79e7aa738149feaed921f7.tar.bz2 nixos-8da92243cc8c0c20dd79e7aa738149feaed921f7.tar.xz nixos-8da92243cc8c0c20dd79e7aa738149feaed921f7.zip | |
username format
| -rw-r--r-- | ymir.nix | 11 |
1 files changed, 10 insertions, 1 deletions
| @@ -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 |
