summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-05-30 01:21:13 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-05-30 01:21:13 +0200
commitf98088425988b842d8e79c836aff53266dd6c24a (patch)
treeb4103b2782fdb23ed710b75692b14e72cae19769
parentd3f513c114407ad032bc8f48c684646cc4253d39 (diff)
downloadnixos-f98088425988b842d8e79c836aff53266dd6c24a.tar
nixos-f98088425988b842d8e79c836aff53266dd6c24a.tar.gz
nixos-f98088425988b842d8e79c836aff53266dd6c24a.tar.bz2
nixos-f98088425988b842d8e79c836aff53266dd6c24a.tar.xz
nixos-f98088425988b842d8e79c836aff53266dd6c24a.zip
aliases for lists to ensure existence
-rw-r--r--ymir.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/ymir.nix b/ymir.nix
index 802e032d..ab59d389 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -374,7 +374,7 @@ in rec {
374 ''} 374 ''}
375 375
376 virtual_alias_maps = regexp:${pkgs.writeText "virtual" '' 376 virtual_alias_maps = regexp:${pkgs.writeText "virtual" ''
377 /^([^@]+)@(lists?|l)\./ $1@mlmmj.localdomain 377 /^([^@]+)@(lists?|l)\./ $1.list@mlmmj.virtual
378 ''} 378 ''}
379 379
380 luser_relay = gkleen+''${local} 380 luser_relay = gkleen+''${local}
@@ -420,7 +420,7 @@ in rec {
420 mlmmj_destination_recipient_limit = 1 420 mlmmj_destination_recipient_limit = 1
421 propagate_unmatched_extensions = virtual 421 propagate_unmatched_extensions = virtual
422 422
423 alias_maps = hash:/etc/postfix/aliases texthash:/srv/mail/spm 423 alias_maps = hash:/etc/postfix/aliases texthash:/srv/mail/spm regexp:${pkgs.writeText "list-aliases" "/^(.*\.list(\+.*)?)$/ postmaster"}
424 ''; 424 '';
425 extraMasterConf = '' 425 extraMasterConf = ''
426 uucp unix - n n - - pipe flags=Fqhu user=uucp argv=/var/setuid-wrappers/uux -z -a$sender - $nexthop!rmail ($recipient) 426 uucp unix - n n - - pipe flags=Fqhu user=uucp argv=/var/setuid-wrappers/uux -z -a$sender - $nexthop!rmail ($recipient)