},
"locked": {
"lastModified": 1,
- "narHash": "sha256-U/9W/+WAYIWL7g1Wy7sjF/DZzFyCYzs7UPu6QU2zboU=",
+ "narHash": "sha256-0pgT4QFyk6vDVJZboD4Js8CRLJMtDCvPpMmYSHBgqnU=",
"path": "../flakes",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-x6nZbsijTyyeFsCiOHIXTPVsEGaGle3a1QDWsxlp51I=",
+ "narHash": "sha256-VhRXb3AAlSKwkq4BfVmoKzkLxEaAFGjYLAFETTZuhjE=",
"path": "../../flakes/private/milters",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-4IYifux8V3QCpgdSwCR8CpbuOr7CEF6uj4OKTiaEnk8=",
+ "narHash": "sha256-dslxX2j+qIz/5OJ7J0cMzPhPxMUlM3EoPbHFz2/omjI=",
"path": "../systems/backup-2",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-uwd/AAgnu/hYHk7lCI5EHBvajek3ucgPpuTRHzMqtas=",
+ "narHash": "sha256-yMHsjZMbUXAE/6Bhrm+UVPBi4SD3BMEk+t7k/7S9JVo=",
"path": "../systems/eldiron",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-08NmS2KKpthWHC7ob5cu1RBKA7JaPEMqcL5HHwH3vLA=",
+ "narHash": "sha256-OAM9gsDUnwGZWwnFF9F1GWLDr41V4LdGj4+daTdwjks=",
"path": "../../flakes/private/openarc",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-x6nZbsijTyyeFsCiOHIXTPVsEGaGle3a1QDWsxlp51I=",
+ "narHash": "sha256-VhRXb3AAlSKwkq4BfVmoKzkLxEaAFGjYLAFETTZuhjE=",
"path": "../../flakes/private/milters",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-08NmS2KKpthWHC7ob5cu1RBKA7JaPEMqcL5HHwH3vLA=",
+ "narHash": "sha256-OAM9gsDUnwGZWwnFF9F1GWLDr41V4LdGj4+daTdwjks=",
"path": "../../flakes/private/openarc",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-x6nZbsijTyyeFsCiOHIXTPVsEGaGle3a1QDWsxlp51I=",
+ "narHash": "sha256-VhRXb3AAlSKwkq4BfVmoKzkLxEaAFGjYLAFETTZuhjE=",
"path": "./private/milters",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-08NmS2KKpthWHC7ob5cu1RBKA7JaPEMqcL5HHwH3vLA=",
+ "narHash": "sha256-OAM9gsDUnwGZWwnFF9F1GWLDr41V4LdGj4+daTdwjks=",
"path": "./private/openarc",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-U/9W/+WAYIWL7g1Wy7sjF/DZzFyCYzs7UPu6QU2zboU=",
+ "narHash": "sha256-0pgT4QFyk6vDVJZboD4Js8CRLJMtDCvPpMmYSHBgqnU=",
"path": "./flakes",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-x6nZbsijTyyeFsCiOHIXTPVsEGaGle3a1QDWsxlp51I=",
+ "narHash": "sha256-VhRXb3AAlSKwkq4BfVmoKzkLxEaAFGjYLAFETTZuhjE=",
"path": "../../flakes/private/milters",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-4IYifux8V3QCpgdSwCR8CpbuOr7CEF6uj4OKTiaEnk8=",
+ "narHash": "sha256-dslxX2j+qIz/5OJ7J0cMzPhPxMUlM3EoPbHFz2/omjI=",
"path": "../systems/backup-2",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-uwd/AAgnu/hYHk7lCI5EHBvajek3ucgPpuTRHzMqtas=",
+ "narHash": "sha256-yMHsjZMbUXAE/6Bhrm+UVPBi4SD3BMEk+t7k/7S9JVo=",
"path": "../systems/eldiron",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-08NmS2KKpthWHC7ob5cu1RBKA7JaPEMqcL5HHwH3vLA=",
+ "narHash": "sha256-OAM9gsDUnwGZWwnFF9F1GWLDr41V4LdGj4+daTdwjks=",
"path": "../../flakes/private/openarc",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-x6nZbsijTyyeFsCiOHIXTPVsEGaGle3a1QDWsxlp51I=",
+ "narHash": "sha256-VhRXb3AAlSKwkq4BfVmoKzkLxEaAFGjYLAFETTZuhjE=",
"path": "../../flakes/private/milters",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-08NmS2KKpthWHC7ob5cu1RBKA7JaPEMqcL5HHwH3vLA=",
+ "narHash": "sha256-OAM9gsDUnwGZWwnFF9F1GWLDr41V4LdGj4+daTdwjks=",
"path": "../../flakes/private/openarc",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-x6nZbsijTyyeFsCiOHIXTPVsEGaGle3a1QDWsxlp51I=",
+ "narHash": "sha256-VhRXb3AAlSKwkq4BfVmoKzkLxEaAFGjYLAFETTZuhjE=",
"path": "./private/milters",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-08NmS2KKpthWHC7ob5cu1RBKA7JaPEMqcL5HHwH3vLA=",
+ "narHash": "sha256-OAM9gsDUnwGZWwnFF9F1GWLDr41V4LdGj4+daTdwjks=",
"path": "./private/openarc",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-x6nZbsijTyyeFsCiOHIXTPVsEGaGle3a1QDWsxlp51I=",
+ "narHash": "sha256-VhRXb3AAlSKwkq4BfVmoKzkLxEaAFGjYLAFETTZuhjE=",
"path": "../../flakes/private/milters",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-4IYifux8V3QCpgdSwCR8CpbuOr7CEF6uj4OKTiaEnk8=",
+ "narHash": "sha256-dslxX2j+qIz/5OJ7J0cMzPhPxMUlM3EoPbHFz2/omjI=",
"path": "../systems/backup-2",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-uwd/AAgnu/hYHk7lCI5EHBvajek3ucgPpuTRHzMqtas=",
+ "narHash": "sha256-yMHsjZMbUXAE/6Bhrm+UVPBi4SD3BMEk+t7k/7S9JVo=",
"path": "../systems/eldiron",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-08NmS2KKpthWHC7ob5cu1RBKA7JaPEMqcL5HHwH3vLA=",
+ "narHash": "sha256-OAM9gsDUnwGZWwnFF9F1GWLDr41V4LdGj4+daTdwjks=",
"path": "../../flakes/private/openarc",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-x6nZbsijTyyeFsCiOHIXTPVsEGaGle3a1QDWsxlp51I=",
+ "narHash": "sha256-VhRXb3AAlSKwkq4BfVmoKzkLxEaAFGjYLAFETTZuhjE=",
"path": "../../flakes/private/milters",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-08NmS2KKpthWHC7ob5cu1RBKA7JaPEMqcL5HHwH3vLA=",
+ "narHash": "sha256-OAM9gsDUnwGZWwnFF9F1GWLDr41V4LdGj4+daTdwjks=",
"path": "../../flakes/private/openarc",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-x6nZbsijTyyeFsCiOHIXTPVsEGaGle3a1QDWsxlp51I=",
+ "narHash": "sha256-VhRXb3AAlSKwkq4BfVmoKzkLxEaAFGjYLAFETTZuhjE=",
"path": "./private/milters",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-08NmS2KKpthWHC7ob5cu1RBKA7JaPEMqcL5HHwH3vLA=",
+ "narHash": "sha256-OAM9gsDUnwGZWwnFF9F1GWLDr41V4LdGj4+daTdwjks=",
"path": "./private/openarc",
"type": "path"
},
permissions = "0400";
text = config.myEnv.mail.dkim.eldiron.private;
};
+ "opendkim/eldiron2.private" = {
+ user = config.services.opendkim.user;
+ group = config.services.opendkim.group;
+ permissions = "0400";
+ text = config.myEnv.mail.dkim.eldiron2.private;
+ };
};
users.users."${config.services.opendkim.user}".extraGroups = [ "keys" ];
services.opendkim = {
in
builtins.concatStringsSep "," domains';
keyPath = config.secrets.fullPaths."opendkim";
- selector = "eldiron";
+ selector = "eldiron2";
configFile = pkgs.writeText "opendkim.conf" ''
SubDomains yes
UMask 002
restart = true;
paths = [
config.secrets.fullPaths."opendkim/eldiron.private"
+ config.secrets.fullPaths."opendkim/eldiron2.private"
];
};
configFile = pkgs.writeText "openarc.conf" ''
AuthservID mail.immae.eu
Domain mail.immae.eu
- KeyFile ${config.secrets.fullPaths."opendkim/eldiron.private"}
+ KeyFile ${config.secrets.fullPaths."opendkim/eldiron2.private"}
Mode sv
- Selector eldiron
+ Selector eldiron2
SoftwareHeader yes
Syslog Yes
'';
services.filesWatcher.openarc = {
restart = true;
paths = [
+ config.secrets.fullPaths."opendkim/eldiron2.private"
config.secrets.fullPaths."opendkim/eldiron.private"
];
};
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-x6nZbsijTyyeFsCiOHIXTPVsEGaGle3a1QDWsxlp51I=",
+ "narHash": "sha256-VhRXb3AAlSKwkq4BfVmoKzkLxEaAFGjYLAFETTZuhjE=",
"path": "../../flakes/private/milters",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-08NmS2KKpthWHC7ob5cu1RBKA7JaPEMqcL5HHwH3vLA=",
+ "narHash": "sha256-OAM9gsDUnwGZWwnFF9F1GWLDr41V4LdGj4+daTdwjks=",
"path": "../../flakes/private/openarc",
"type": "path"
},
};
};
mailSend = {
- # DKIM
+ # DKIM 2048b
+ subdomains._domainkey.subdomains.eldiron2.TXT = [
+ (toKV config.myEnv.mail.dkim.eldiron2.public)
+ ];
+ # DKIM 1024b
subdomains._domainkey.subdomains.eldiron.TXT = [
(toKV config.myEnv.mail.dkim.eldiron.public)
];
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-x6nZbsijTyyeFsCiOHIXTPVsEGaGle3a1QDWsxlp51I=",
+ "narHash": "sha256-VhRXb3AAlSKwkq4BfVmoKzkLxEaAFGjYLAFETTZuhjE=",
"path": "../../flakes/private/milters",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-08NmS2KKpthWHC7ob5cu1RBKA7JaPEMqcL5HHwH3vLA=",
+ "narHash": "sha256-OAM9gsDUnwGZWwnFF9F1GWLDr41V4LdGj4+daTdwjks=",
"path": "../../flakes/private/openarc",
"type": "path"
},