domain email aliases

This commit is contained in:
toufic ar 2026-03-04 01:48:29 +02:00
parent 15f2939cdc
commit 87b4e42f90
Signed by: toufic ar
SSH key fingerprint: SHA256:/NaO5I1nG3gYKzrzSiTYIdRyaIYxDWfr1U+d+yfJ/4k
2 changed files with 9 additions and 7 deletions

View file

@ -6,7 +6,7 @@ in {
sops.secrets = {
"mailserver/root".owner = "dovecot2";
"mailserver/contact".owner = "dovecot2";
"mailserver/dmarc".owner = "dovecot2";
"mailserver/domain".owner = "dovecot2";
"radicale".owner = "radicale";
};
@ -48,11 +48,13 @@ in {
};
loginAccounts = {
"dmarc@${domainFqdn}" = {
hashedPasswordFile = config.sops.secrets."mailserver/dmarc".path;
"domain@${domainFqdn}" = {
hashedPasswordFile = config.sops.secrets."mailserver/domain".path;
aliases = [
"dmarc@${domainFqdn}"
"rua@${domainFqdn}"
"ruf@${domainFqdn}"
"caa@${domainFqdn}"
];
};
"root@${domainFqdn}" = {