31 lines
1.0 KiB
Nix
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 = '''';
|
|
};
|
|
};
|
|
} |