aboutsummaryrefslogtreecommitdiffstats
path: root/modules/by-name (unfollow)
Commit message (Collapse)Author
2025-04-12modules/stalwart-mail: Make `cfg.principals` nullableBenedikt Peetz
This makes it possible to use the internal storage
2025-04-12modules/stalwart-mail: Use correct group name for `redis-stalwart-mail`Benedikt Peetz
2025-04-11modules/system-info: Register taskchampion portBenedikt Peetz
2025-04-11modules/taskchampion-sync: Persist data directoryBenedikt Peetz
2025-04-11modules/taskchampion-sync: Add {u,g}ids to {group,user}Benedikt Peetz
2025-04-11{modules,test}/taskchampion-sync: InitBenedikt Peetz
2025-04-07nextcloud: init on server2Silas Schöffel
2025-03-30{hosts/server2,modules/mail}: Re-active the old mail serverBenedikt Peetz
Running two mail-servers on one system is a total /mess/. Both try to bind to the same ports, the old stack consists of **5** different systemd services whilst stalwart-mail's systemd service simply refuses to stop, etc. I'm confident that it can work, but it would probably be best to deploy the new mail-server on server3.
2025-03-30modules/mail: Avoid changing the `virtualMail` user uidBenedikt Peetz
We would need to set the `vmailUID` option to this value and even then some parts of SNM would still hardcode the default of 5000. Considering that we are in the process of phasing out SNM, this does not seem to be a worthwhile endeavour.
2025-03-30modules/mail: Actually set the uid/gid of the virtualMail userBenedikt Peetz
2025-03-29modules/stalwart-mail: Assign uids and gids to the stalwart usersBenedikt Peetz
2025-03-29modules/constants: Enforce the 0 to 400 limitBenedikt Peetz
2025-03-29modules/constants: Correctly assign each uid so that none is greater 400Benedikt Peetz
The uid ranges from 400 upwards are reserved for things that allocate them dynamic during runtime (like systemd). Our users would than get clobbered, thus we avoid that range. BREAKING CHANGE: Well, we'll need to change all uid of the files owned by the respective users.
2025-03-29modules/constants: Dry gid definitions by inheriting the uidsBenedikt Peetz
2025-03-29hosts/server2: Setup stalwalt-mail on mail.vhack.eu for soispha@vhack.euBenedikt Peetz
We need to actually test stalwart out in the real world, because the test can never actually capture all the weird things people do with their mail setup. Refs: #6ea08aa
2025-03-10modules/system-info: Include port 53 (dns) in port -> name mappingsBenedikt Peetz
2025-03-09{modules/system-info,scripts/system_info}: InitBenedikt Peetz
This collects relevant information for each host in an informative markdown file. An example (generated via `./scripts/system_info.sh`): # server2 ## Virtual Hosts etebase.vhack.eu: dav.vhack.eu gallery.s-schoeffel.de git.foss-syndicate.org invidious-router.vhack.eu: video.fosswelt.org invidious-router.sils.li issues.foss-syndicate.org libreddit.vhack.eu redlib.vhack.eu source.foss-syndicate.org source.vhack.eu ## Open ports TCP 22: ssh TCP 25: mail-smtp TCP 80: http TCP 443: https TCP 465: mail-smtp-tls TCP 993: mail-imap-tls TCP 995: mail-pop3-tls # server3 ## Virtual Hosts b-peetz.de mastodon.vhack.eu matrix.vhack.eu miniflux.foss-syndicate.org: rss.foss-syndicate.org rss.vhack.eu miniflux.vhack.eu openpgpkey.b-peetz.de openpgpkey.s-schoeffel.de openpgpkey.sils.li openpgpkey.vhack.eu peertube.vhack.eu trinitrix.vhack.eu vhack.eu ## Open ports TCP 22: ssh TCP 80: http TCP 443: https TCP 64738: ??? UDP 64738: ???
2025-03-09{modules,tests}/back: Update to deal with newest backBenedikt Peetz
2025-03-09modules/stalwart-mail: Remove now unneeded `allowInsecureSmtp` optionBenedikt Peetz
2025-03-09modules/stalwart-mail-free: Remove all `security` dependent checks if it's nullBenedikt Peetz
2025-03-09modules/stalwart-mail: Capitalize default mailboxesBenedikt Peetz
This seems to be somewhat of a standart.
2025-03-09modules/stalwart-mail: Also listen on :25 without SSL but with STARTTLSBenedikt Peetz
This is important, so that other MTA can send us mail.
2025-03-09modules/stalwart-mail: Set a default value for `principals`Benedikt Peetz
2025-03-09modules/stalwart-mail: Include full systemd service and set correct dependenciesBenedikt Peetz
This also starts `nginx` so that we can complete http-01 acme challenges.
2025-03-09modules/stalwart-mail: Select DKIM keys per-domainBenedikt Peetz
2025-03-09modules/stalwart-mail: Avoid hardcoding `vhack.eu` email addressBenedikt Peetz
2025-03-09modules/dns: Add service dependenciesBenedikt Peetz
2025-03-09modules/dns: Set a reasonable verbosity levelBenedikt Peetz
The default is way too quiet.
2025-03-09modules/dns: Provide the option to open the required firewall portsBenedikt Peetz
2025-03-09modules/dns: Remove `lib.debug` callsBenedikt Peetz
2025-03-09modules/dns/dns/types/records/PTR.nix: Special case for reverse IP lookupsBenedikt Peetz
This makes implementing a DNS server in tests easier.
2025-03-09modules/dns/dns/types/records/MTA-STS.nix: InitBenedikt Peetz
2025-03-09modules/dns/dns/types/records/DMARC.nix: Reference the correct RFCBenedikt Peetz
RFC 7208 is titled “Sender Policy Framework (SPF) for Authorizing Use of Domains in Email, Version 1”, whilst RFC 7489 is titled “Domain-based Message Authentication, Reporting, and Conformance (DMARC)”
2025-03-09modules/stalwart-mail: Move the package to the `pkgs` subtreeBenedikt Peetz
2025-03-09{modules,tests}/dns: InitBenedikt Peetz
Most of the dns module was taken from: <https://github.com/nix-community/dns.nix>
2025-03-09module/stalwart-mail: Init initial versionBenedikt Peetz
2025-02-09modules/redlib: Use `nginx`'s module redirect mechanismBenedikt Peetz
2025-02-09modules/nginx: Keep the `$request_uri` when redirectingBenedikt Peetz
2025-02-07modules/nix-sync: Correctly merge `extraSettings` and the needed vhost configBenedikt Peetz
2025-02-04modules/nix-sync: Actually enableBenedikt Peetz
This includes the obvious changes, ensuring that it follows our current best-practices.
2025-01-25feat(matrix): make secrets configurableSilas Schöffel
2025-01-25feat(mastodon): make secrets configurableSilas Schöffel
2025-01-25feat(miniflux): make secrets configurableSilas Schöffel
2025-01-25feat(peertube): make secrets configurableSilas Schöffel
2025-01-25feat(etesync): migrate to server2Silas Schöffel
2025-01-25fix(modules/etebase): migrate to new vhack.persist optionSilas Schöffel
2025-01-25fix(module/peertube): update emailhostSilas Schöffel
2025-01-25fix(modules/mastodon): update emailhostSilas Schöffel
2025-01-25feat(modules/mail): init on server2Silas Schöffel
2025-01-21feat(modules/backup): initSilas Schöffel