diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-10-02 00:37:38 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-10-02 00:37:38 +0200 |
| commit | 4a17e743b02882b026f5245d8b296c5538f11271 (patch) | |
| tree | fbf3f8a65119a4844ebeb938e8a465569f830a1b /hosts | |
| parent | tests/default: Always import the extra modules and our modules (diff) | |
| download | nixos-server-4a17e743b02882b026f5245d8b296c5538f11271.zip | |
modules/mail: Move the user config away from the module
That change also does two other things:
- soispha@vhack.eu now gets all the admin email
That is just so, because it avoids adding another
`all_admins` option, and we realistically don't get
these email either. So I think that is just easier.
- The acme creds are now generated via a `nginx.localhost`
That means, that something (i.e. nginx) is actually
responding, when you perform a GET request against the
email domain. That helps for the ACME http challenges.
No idea, how these worked before.
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/by-name/server2/configuration.nix | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/hosts/by-name/server2/configuration.nix b/hosts/by-name/server2/configuration.nix index c26b896..ab0b1a3 100644 --- a/hosts/by-name/server2/configuration.nix +++ b/hosts/by-name/server2/configuration.nix @@ -71,6 +71,75 @@ mail = { enable = true; fqdn = "mail.foss-syndicate.org"; + + domains = [ + "vhack.eu" + + "s-schoeffel.de" + "b-peetz.de" + + "sils.li" + "nightingale.sils.li" + "sils.sils.li" + + "jaki.li" + ]; + + accounts = { + "sils@vhack.eu" = { + hashedPassword = "$2b$05$RW/Svgk7iGxvP5W7ZwUZ1e.a3fj4fteevb2MtfFYYD0d1DQ17y9Fm"; + }; + "soispha@vhack.eu" = { + hashedPassword = "$2b$05$XX36sJuHNbTFvi8DFldscOeQBHahluSkiUqD9QGzQaET7NJusSuQW"; + aliases = [ + "abuse@vhack.eu" + "admin@vhack.eu" + "postmaster@vhack.eu" + ]; + }; + + "soispha@b-peetz.de" = { + hashedPassword = "$y$j9T$asnEgvMxJrbeabfyp1AOe/$0dJ0/Rta57V8nHCLVGOHrXsXeEhBCaKx/HTuPHXZj04"; + }; + "benedikt.peetz@b-peetz.de" = { + hashedPassword = "$2b$05$MfET8utot2OolPZNASqoDe4VXNoG2chnEWhdfQ2E92mit0TvI2gBy"; + aliases = ["@b-peetz.de"]; + }; + "silas.schoeffel@s-schoeffel.de" = { + hashedPassword = "$2b$05$Qb8rl7ncpCcTbsSdsduJBuOITp8RTD6sfOTjuxJsVtD9vjAYY9n8e"; + aliases = ["@s-schoeffel.de"]; + }; + + "nightingale@vhack.eu" = { + hashedPassword = "$2b$05$nDKVVq1EktKXWqGFhnOLP.plLovXFyvWSuptK9GIkxA5DScKFx6YS"; + aliases = [ + "@nightingale.sils.li" + ]; + }; + "sils@sils.li" = { + hashedPassword = "$2b$05$Ebzh2ZhuWkz1p4tqJ172IejNZg10FtCxPDY4k6umYrpirXg7ezIRq"; + aliases = [ + "@sils.sils.li" + "@sils.li" + ]; + }; + "mail@jaki.li" = { + hashedPassword = "$y$j9T$jaG/lkAOfYXUNiJt11DoE.$ZKTeev6b5TCBEXZzNLH12hOmy5mL.Fitp0V6saWXR73"; + aliases = [ + "postmaster@jaki.li" + "abuse@jaki.li" + "admin@jaki.li" + ]; + }; + + # Mail-Account used by hosted software + "mastodon@vhack.eu" = { + hashedPassword = "$2b$05$pSby3x2p3cHg0FyAE8IiJ.nYUqtAIR10JA8HNpHwMAiLXqc.ltSK."; + }; + "peertube@vhack.eu" = { + hashedPassword = "$y$j9T$hyWQ8Awd2Xrc6qsK.2hwE1$LxACfaeW.yHGbkQL95dWtID9.zXL/aMwT6lp.yU/0g0"; + }; + }; }; nextcloud = { enable = true; |
