Commit graph

28 commits

Author SHA1 Message Date
bb2ccd6408 tests: Add tests for rspamd-related functionality 2024-12-29 15:48:48 +01:00
a93bd2717d mailsystem: Add configuration options for dkim signatures 2024-12-29 15:48:48 +01:00
7c464c0130 mailsystem: roundcube: Fix mixup with dovecotpw and passwdfile 2024-12-29 15:48:48 +01:00
a5cde8fef0 mailsystem: dovecot: Grant roundcube user access to dynamic passwd file 2024-12-29 15:48:43 +01:00
db161e296f mailsystem: rspamd: Ensure proxy headers for webui are configured 2024-12-29 15:48:43 +01:00
5eb469916f mailsystem: roundcube: Use imaps and submissions instead of disabled starttls variant 2024-12-29 15:48:43 +01:00
d907cfdefe mailsystem: nginx: Replace incorrect usage of lib.mkIf with lib.optionalAttrs
Evaluation of lib.mkIf and lib.optionalAttrs is slightly different. In
this specific case, the usage of lib.mkIf resulted in the defined
virtualHost never actually being applied due to an earlier error in the
evaluation order.
2024-12-29 15:48:12 +01:00
f6b4f79bfd Disable roundcube and rspamd webui by default 2024-12-28 14:58:29 +01:00
fcd5cb97bc Add configuration option to alias entire domains and respective tests 2024-12-28 14:58:29 +01:00
ed46e1d3d7 tests: Add various tests for alias functionality 2024-12-28 14:58:28 +01:00
e34e4889b8 tests: Add basic tests for sending/receiving mails and verification of headers 2024-12-28 14:58:28 +01:00
397a6a359a tests: common: Add lib.nix containing various helpers for testing mailsystem behaviour 2024-12-28 14:58:28 +01:00
66b2adfe7f flake.nix: Add and configure treefmt-nix for nix fmt 2024-12-28 14:58:28 +01:00
913be00f55 flake.nix: Rename pre-commit-hooks-nix into git-hooks-nix
Cachix has renamed their project.
2024-12-28 14:58:28 +01:00
385a6fd6cd tests: minimal: Configure and verify vmail user/group/uid/gid 2024-12-28 14:58:28 +01:00
45c4089f91 Add minimal (internal) tests 2024-12-28 14:58:28 +01:00
d88d91ef74 mailsystem: Add option to use selfsigned certificates in preparation for testing 2024-12-28 14:58:28 +01:00
a3af3a5187 flake.nix: Actually expose mailsystem as nixosModule 2024-12-28 14:58:28 +01:00
6bc5f7dc07 mailsystem: Add configuration for roundcube as webmail interface 2024-12-28 14:58:28 +01:00
e2627111a9 mailsystem: rspamd: Add configuration options to make rspamd's web ui accessible 2024-12-28 14:58:25 +01:00
dcda508e3f mailsystem: dovecot: Autolearn ham/spam when moving mails 2024-12-28 14:58:05 +01:00
6e0947b3a4 mailsystem: Configure rspamd as spam filter 2024-12-28 14:58:00 +01:00
b7fac23bd1 mailsystem: Add basic postfix configuration 2024-12-28 00:23:33 +01:00
bc01d4d2d0 mailsystem: Add minimal dovecot configuration 2024-12-28 00:21:53 +01:00
56feea5754 mailsystem: Add vmail user and group configuration 2024-12-06 16:41:06 +01:00
9180d7345c mailsystem: Add common.nix containing module-internal variables/definitions 2024-12-01 12:40:38 +01:00
3943ec3356 mailsystem: Add nginx configuration to retrieve letsencrypt certificate 2024-11-30 19:56:30 +01:00
77e4cac42d Initial commit 2024-11-26 00:23:32 +01:00