{ ... }: { mailserver = { enable = true; fqdn = "mail.billenius.com"; domains = [ "billenius.com" ]; certificateScheme = "acme"; # A list of all login accounts. To create the password hashes, use # nix-shell -p mkpasswd --run 'mkpasswd -sm bcrypt' loginAccounts = { "love@billenius.com" = { hashedPasswordFile = "${../../../resources/mail-server}/love@billenius.com"; aliases = [ "postmaster@billenius.com" ]; }; }; fullTextSearch = { enable = true; autoIndex = true; enforced = "body"; autoIndexExclude = [ "Trash" "\\Junk" ]; }; }; }