Files
2026-04-14 15:07:25 +02:00

28 lines
655 B
Nix

{ ... }:
{
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"
];
};
};
}