2023-06-10 10:50:53 +00:00
|
|
|
{ config, lib, ... }:
|
|
|
|
with import ../../lib/pure.nix { inherit lib; };
|
|
|
|
let
|
2019-01-21 09:22:18 +00:00
|
|
|
|
|
|
|
format = from: to: {
|
|
|
|
inherit from;
|
|
|
|
# TODO assert is-retiolum-mail-address to;
|
|
|
|
to = concatMapStringsSep "," (getAttr "mail") (toList to);
|
|
|
|
};
|
|
|
|
|
|
|
|
in {
|
|
|
|
krebs.exim-smarthost.internet-aliases =
|
|
|
|
mapAttrsToList format (with config.krebs.users; let
|
|
|
|
brain-ml = [
|
|
|
|
lass
|
|
|
|
makefu
|
|
|
|
tv
|
|
|
|
];
|
2019-11-27 08:52:53 +00:00
|
|
|
eloop-ml = spam-ml;
|
2022-11-22 14:02:14 +00:00
|
|
|
krebstel-ml = [
|
|
|
|
config.krebs.users."0x4A6F"
|
|
|
|
{ mail = "krebstel-1rxz0mqa95nkmk298s1731ly0ii7vc36kkm36pnjj89hrq52pgn1@ni.r"; }
|
|
|
|
{ mail = "krebstel-1difh7483axpiaq92ghi14r5cql822wbhixqb0nn3y3jkcj0b785@ni.r"; }
|
|
|
|
{ mail = "lass@green.r"; }
|
|
|
|
tv
|
|
|
|
];
|
2019-01-21 09:22:18 +00:00
|
|
|
spam-ml = [
|
|
|
|
lass
|
|
|
|
makefu
|
|
|
|
tv
|
|
|
|
];
|
|
|
|
in {
|
|
|
|
"brain@krebsco.de" = brain-ml;
|
2022-06-08 08:39:48 +00:00
|
|
|
"eloop2022@krebsco.de" = eloop-ml;
|
2022-06-08 09:10:13 +00:00
|
|
|
"root@eloop.org" = eloop-ml; # obsolete, use spam@eloop.org instead
|
|
|
|
"spam@eloop.org" = eloop-ml;
|
|
|
|
"youtube@eloop.org" = eloop-ml; # obsolete, use spam@eloop.org instead
|
2019-01-21 09:22:18 +00:00
|
|
|
"postmaster@krebsco.de" = spam-ml; # RFC 822
|
2022-11-22 14:02:14 +00:00
|
|
|
"krebstel@krebsco.de" = krebstel-ml;
|
2019-01-21 09:22:18 +00:00
|
|
|
"lass@krebsco.de" = lass;
|
|
|
|
"makefu@krebsco.de" = makefu;
|
|
|
|
"spam@krebsco.de" = spam-ml;
|
|
|
|
"tv@krebsco.de" = tv;
|
2023-07-06 18:26:40 +00:00
|
|
|
"xkey@krebsco.de" = { mail = "lennart@cope.cool"; };
|
2019-01-21 09:22:18 +00:00
|
|
|
# XXX These are no internet aliases
|
|
|
|
# XXX exim-retiolum hosts should be able to relay to retiolum addresses
|
|
|
|
"lass@retiolum" = lass;
|
|
|
|
"makefu@retiolum" = makefu;
|
|
|
|
"spam@retiolum" = spam-ml;
|
|
|
|
"tv@retiolum" = tv;
|
|
|
|
"lass@r" = lass;
|
|
|
|
"makefu@r" = makefu;
|
|
|
|
"spam@r" = spam-ml;
|
|
|
|
"tv@r" = tv;
|
|
|
|
});
|
|
|
|
}
|