/var/mail is special OOOPS

This commit is contained in:
Dennis Frieberg 2023-09-22 21:33:23 +02:00
parent cb771c4abb
commit 53787ba7bb
Signed by: nerf
GPG key ID: 1EC6F5573876CC80
2 changed files with 4 additions and 3 deletions

View file

@ -10,7 +10,7 @@
device = "/dev/disk/by-uuid/a72da670-f631-49b1-bcb3-6d378cc1f2d0";
fsType = "ext4";
};
fileSystems."/var/mail" = {
fileSystems."/var/vmail" = {
device = "/dev/disk/by-uuid/23c44c93-5035-4e29-9e46-75c1c08f4cea";
fsType = "ext4";
};

View file

@ -23,12 +23,13 @@ flake-inputs:
# Fun dovecot stuff :
mailDirectory = "/var/mail/vmail/"; # directory to store mail
mailDirectory = "/var/vmail/vmail/"; # directory to store mail it was /var/mail/vmail but
# /var/mail ist special
hierarchySeparator = "/"; # seperator for imap mailboxes from client view
# Caching of search indices
indexDir = "/var/mail/lib/dovecot/indices";
indexDir = "/var/vmail/lib/dovecot/indices";
fullTextSearch = {
enforced = "body"; # only brute force headers if no search index is available
};