fix: remove typo in maddy config, add maddy to acme group

This commit is contained in:
oddlama 2024-04-13 14:32:32 +02:00
parent 5e0f8b6f96
commit 83f42517b3
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
5 changed files with 5 additions and 2 deletions

View file

@ -22,7 +22,7 @@ in {
}; };
dnsProvider = "cloudflare"; dnsProvider = "cloudflare";
dnsPropagationCheck = true; dnsPropagationCheck = true;
reloadServices = ["nginx"]; reloadServices = ["nginx" "maddy"];
}; };
inherit (acme) certs wildcardDomains; inherit (acme) certs wildcardDomains;
}; };

View file

@ -79,6 +79,8 @@ in {
]; ];
networking.firewall.allowedTCPPorts = [25 465 993]; networking.firewall.allowedTCPPorts = [25 465 993];
users.groups.acme.members = ["maddy"];
services.maddy = { services.maddy = {
enable = true; enable = true;
hostname = "mx1.${primaryDomain}"; hostname = "mx1.${primaryDomain}";
@ -119,7 +121,7 @@ in {
table.chain local_rewrites { table.chain local_rewrites {
optional_step sql_query { optional_step sql_query {
driver sqlite driver sqlite3
dsn mailboxes.db dsn mailboxes.db
lookup "SELECT alias FROM aliases WHERE address = $1" lookup "SELECT alias FROM aliases WHERE address = $1"
} }

Binary file not shown.

View file

@ -30,5 +30,6 @@
fwupd-refresh = uidGid 979; fwupd-refresh = uidGid 979;
radicale = uidGid 978; radicale = uidGid 978;
podman = uidGid 977; podman = uidGid 977;
maddy = uidGid 976;
}; };
} }

Binary file not shown.