From f98088425988b842d8e79c836aff53266dd6c24a Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 30 May 2016 01:21:13 +0200 Subject: aliases for lists to ensure existence --- ymir.nix | 4 ++-- 1 file 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 { ''} virtual_alias_maps = regexp:${pkgs.writeText "virtual" '' - /^([^@]+)@(lists?|l)\./ $1@mlmmj.localdomain + /^([^@]+)@(lists?|l)\./ $1.list@mlmmj.virtual ''} luser_relay = gkleen+''${local} @@ -420,7 +420,7 @@ in rec { mlmmj_destination_recipient_limit = 1 propagate_unmatched_extensions = virtual - alias_maps = hash:/etc/postfix/aliases texthash:/srv/mail/spm + alias_maps = hash:/etc/postfix/aliases texthash:/srv/mail/spm regexp:${pkgs.writeText "list-aliases" "/^(.*\.list(\+.*)?)$/ postmaster"} ''; extraMasterConf = '' uucp unix - n n - - pipe flags=Fqhu user=uucp argv=/var/setuid-wrappers/uux -z -a$sender - $nexthop!rmail ($recipient) -- cgit v1.2.3