Sebastian Walz 860d31cee1
Tohu vaBohu
2023-04-21 00:22:52 +02:00

31 lines
1.0 KiB
Nix

{ host, secret, ... }:
{
mailserver.loginAccounts
= let
inherit(host.network) domain;
in
{
"root@${domain}"
= {
aliases
= [
"cert${domain}" # Certificates related issues
"dmarc${domain}" # Domain-based Message Authentication, Reporting and Conformance
"dns${domain}" # Domain Name System related issues
];
catchAll
= [
"${domain}"
];
hashedPasswordFile = secret.decrypt { encryptedFile = ./root-at-sivizius.eu.asc; owner = "dovecot2"; };
sieveScript = '''';
};
"sivizius@${domain}"
= {
hashedPasswordFile = secret.decrypt { encryptedFile = ./sivizius-at-sivizius.eu.asc; owner = "dovecot2"; };
quota = "10G";
sieveScript = '''';
};
};
}