summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ymir.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/ymir.nix b/ymir.nix
index 24827e65..19e8ca18 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -441,6 +441,11 @@ in rec {
441 non_smtpd_milters = local:private/dkim 441 non_smtpd_milters = local:private/dkim
442 442
443 alias_maps = hash:/etc/postfix/aliases texthash:/srv/mail/spm 443 alias_maps = hash:/etc/postfix/aliases texthash:/srv/mail/spm
444
445 sender_canonical_maps = tcp:127.0.0.1:10001
446 sender_canonical_classes = envelope_sender
447 recipient_canonical_maps = tcp:127.0.0.1:10002
448 recipient_canonical_classes = envelope_recipient,header_recipient
444 ''; 449 '';
445 extraMasterConf = '' 450 extraMasterConf = ''
446 uucp unix - n n - - pipe flags=Fqhu user=uucp argv=/var/setuid-wrappers/uux -z -a $sender - $nexthop!rmail ($recipient) 451 uucp unix - n n - - pipe flags=Fqhu user=uucp argv=/var/setuid-wrappers/uux -z -a $sender - $nexthop!rmail ($recipient)
@@ -451,6 +456,11 @@ in rec {
451 networks = ["127.0.0.0/8" "[::ffff:127.0.0.0]/104" "[::1]/128" "10.141.0.0/16"]; 456 networks = ["127.0.0.0/8" "[::ffff:127.0.0.0]/104" "[::1]/128" "10.141.0.0/16"];
452 }; 457 };
453 458
459 services.postsrsd = {
460 enable = true;
461 domain = "srs.141.li";
462 };
463
454 systemd.timers."mlmmj-maintd" = { 464 systemd.timers."mlmmj-maintd" = {
455 description = "run mlmmj maintenance daemon"; 465 description = "run mlmmj maintenance daemon";
456 wantedBy = [ "multi-user.target" ]; 466 wantedBy = [ "multi-user.target" ];