Files
dotfiles/hosts/remilia/mailserver.nix
natto1784 53b18802dd Remilia: updates
services: add znc and some random changes
networking: random changes
mailserver: add masti@weirdnatto.in
and some other misc changes
2022-03-09 10:53:07 +05:30

24 lines
649 B
Nix

{ config, pkgs, lib, ... }:
{
mailserver = with lib; rec {
enable = true;
fqdn = "mail.weirdnatto.in";
sendingFqdn = fqdn;
domains = singleton "weirdnatto.in";
certificateDomains = singleton "mail.weirdnatto.in";
certificateScheme = 2;
loginAccounts = {
"natto@weirdnatto.in" = {
hashedPasswordFile = "/var/secrets/natto@weirdnatto.in.key";
aliases = [ "@weirdnatto.in" ];
};
"masti@weirdnatto.in" = {
hashedPasswordFile = "/var/secrets/masti@weirdnatto.in.key";
aliases = [ "@weirdnatto.in" ];
};
};
enablePop3 = false;
enablePop3Ssl = false;
};
}