feat: we have to handle the old lists domains

This commit is contained in:
silver 2025-03-06 13:14:40 +00:00
parent b195208462
commit 4d83ecb584
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D

View file

@ -50,6 +50,10 @@ with lib; let
account = "contact";
members = ["committee"];
}
{
account = "committee";
members = ["committee"];
}
{
account = "dbadmin";
members = ["admin"];
@ -291,6 +295,12 @@ in {
# the number is the priority in teh case of multiple mailservers
value = "10 mail.${cfg.domain}.";
}
{
record = "@";
r_type = "MX";
# the number is the priority in teh case of multiple mailservers
value = "10 lists.${cfg.domain}.";
}
# basic one
{
@ -298,6 +308,11 @@ in {
r_type = "A";
value = config.services.skynet.host.ip;
}
{
record = "lists";
r_type = "A";
value = config.services.skynet.host.ip;
}
#DNS config for K-9 Mail
{
record = "imap";
@ -429,6 +444,7 @@ in {
fqdn = "${cfg.sub}.${cfg.domain}";
domains = [
cfg.domain
"lists.skynet.ie"
];
enableManageSieve = true;