diff options
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/surtr/email/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/surtr/email/default.nix b/hosts/surtr/email/default.nix index 4196a8bc..a85b76aa 100644 --- a/hosts/surtr/email/default.nix +++ b/hosts/surtr/email/default.nix | |||
| @@ -484,6 +484,7 @@ in { | |||
| 484 | 484 | ||
| 485 | users.groups.${config.services.redis.servers.rspamd.user}.members = [ config.services.rspamd.user ]; | 485 | users.groups.${config.services.redis.servers.rspamd.user}.members = [ config.services.rspamd.user ]; |
| 486 | 486 | ||
| 487 | environment.systemPackages = with pkgs; [ dovecot_pigeonhole dovecot_fts_xapian ]; | ||
| 487 | services.dovecot2 = { | 488 | services.dovecot2 = { |
| 488 | enable = true; | 489 | enable = true; |
| 489 | enablePAM = false; | 490 | enablePAM = false; |
| @@ -491,7 +492,6 @@ in { | |||
| 491 | sslServerKey = "/run/credentials/dovecot2.service/surtr.yggdrasil.li.key.pem"; | 492 | sslServerKey = "/run/credentials/dovecot2.service/surtr.yggdrasil.li.key.pem"; |
| 492 | sslCACert = toString ./ca/ca.crt; | 493 | sslCACert = toString ./ca/ca.crt; |
| 493 | mailLocation = "maildir:/var/lib/mail/%u/maildir:UTF-8:INDEX=/var/lib/dovecot/indices/%u"; | 494 | mailLocation = "maildir:/var/lib/mail/%u/maildir:UTF-8:INDEX=/var/lib/dovecot/indices/%u"; |
| 494 | modules = with pkgs; [ dovecot_pigeonhole dovecot_fts_xapian ]; | ||
| 495 | mailPlugins.globally.enable = [ "fts" "fts_xapian" ]; | 495 | mailPlugins.globally.enable = [ "fts" "fts_xapian" ]; |
| 496 | protocols = [ "lmtp" "sieve" ]; | 496 | protocols = [ "lmtp" "sieve" ]; |
| 497 | sieve = { | 497 | sieve = { |
