summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ymir.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/ymir.nix b/ymir.nix
index 6dd238da..7acda6b0 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -388,7 +388,6 @@ in rec {
388 /^gkleen[@\+]/ uucp:isaac 388 /^gkleen[@\+]/ uucp:isaac
389 /@(lists?|l)\./ mlmmj: 389 /@(lists?|l)\./ mlmmj:
390 /@subs?\.(lists?|l)\./ mlmmj-subs: 390 /@subs?\.(lists?|l)\./ mlmmj-subs:
391 /@srs\.141\.li$/ smtp:localhost:10003
392 ''} 391 ''}
393 392
394 luser_relay = gkleen+''${local} 393 luser_relay = gkleen+''${local}
@@ -446,22 +445,21 @@ in rec {
446 445
447 sender_canonical_maps = tcp:127.0.0.1:10001 446 sender_canonical_maps = tcp:127.0.0.1:10001
448 sender_canonical_classes = envelope_sender 447 sender_canonical_classes = envelope_sender
448 recipient_canonical_maps=tcp:127.0.0.1:10002
449 recipient_canonical_classes=envelope_recipient,header_recipient
449 ''; 450 '';
450 extraMasterConf = '' 451 extraMasterConf = ''
451 uucp unix - n n - - pipe flags=Fqhu user=uucp argv=/var/setuid-wrappers/uux -z -a $sender - $nexthop!rmail ($recipient) 452 uucp unix - n n - - pipe flags=Fqhu user=uucp argv=/var/setuid-wrappers/uux -z -a $sender - $nexthop!rmail ($recipient)
452 mlmmj unix - n n - - pipe flags=ORhu user=mlmmj argv=${pkgs.mlmmj}/bin/mlmmj-receive -F -L /var/spool/lists/''${user} 453 mlmmj unix - n n - - pipe flags=ORhu user=mlmmj argv=${pkgs.mlmmj}/bin/mlmmj-receive -F -L /var/spool/lists/''${user}
453 mlmmj-subs unix - n n - - pipe flags=ORhu user=mlmmj argv=${pkgs.mlmmj-exposed}/bin/mlmmj-exposed /var/spool/lists/''${user} ''${extension} 454 mlmmj-subs unix - n n - - pipe flags=ORhu user=mlmmj argv=${pkgs.mlmmj-exposed}/bin/mlmmj-exposed /var/spool/lists/''${user} ''${extension}
454 policy-spf unix - n n - - spawn user=nobody argv=${pkgs.pythonPackages.pypolicyd-spf}/bin/policyd-spf ${./ymir/spf.conf} 455 policy-spf unix - n n - - spawn user=nobody argv=${pkgs.pythonPackages.pypolicyd-spf}/bin/policyd-spf ${./ymir/spf.conf}
455 localhost:10003 inet n - n - - smtpd
456 -o recipient_canonical_maps=tcp:127.0.0.1:10002
457 -o recipient_canonical_classes=envelope_recipient,header_recipient
458 ''; 456 '';
459 networks = ["127.0.0.0/8" "[::ffff:127.0.0.0]/104" "[::1]/128" "10.141.0.0/16"]; 457 networks = ["127.0.0.0/8" "[::ffff:127.0.0.0]/104" "[::1]/128" "10.141.0.0/16"];
460 }; 458 };
461 459
462 services.postsrsd = { 460 services.postsrsd = {
463 enable = true; 461 enable = true;
464 domain = "srs.141.li"; 462 domain = "141.li";
465 }; 463 };
466 464
467 systemd.timers."mlmmj-maintd" = { 465 systemd.timers."mlmmj-maintd" = {