1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 23:00:39 +02:00

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";
dnsPropagationCheck = true;
reloadServices = ["nginx"];
reloadServices = ["nginx" "maddy"];
};
inherit (acme) certs wildcardDomains;
};

View file

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

Binary file not shown.