30 lines
724 B
Nix
30 lines
724 B
Nix
{ ... }:
|
|
{
|
|
security.acme = {
|
|
acceptTerms = true;
|
|
defaults.email = "postmaster@billenius.com";
|
|
};
|
|
|
|
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 -s'
|
|
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" ];
|
|
};
|
|
};
|
|
}
|