Commit graph

29 commits

Author SHA1 Message Date
30532bbfca Actually reject mails sent to system accounts and add respective testcase 2025-01-06 23:25:59 +01:00
55183f5585 tests: Add tests for rspamd-related functionality 2025-01-06 23:25:59 +01:00
de330a87a4 mailsystem: Add configuration options for dkim signatures 2025-01-06 23:25:59 +01:00
88d2b387c7 mailsystem: roundcube: Fix mixup with dovecotpw and passwdfile 2025-01-06 23:25:59 +01:00
cbdbb94512 mailsystem: dovecot: Grant roundcube user access to dynamic passwd file 2025-01-06 23:25:59 +01:00
1b26a41aaf mailsystem: rspamd: Ensure proxy headers for webui are configured 2025-01-06 23:25:59 +01:00
35aeb19b24 mailsystem: roundcube: Use imaps and submissions instead of disabled starttls variant 2025-01-06 23:25:59 +01:00
53e2b9f621 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.
2025-01-06 23:25:59 +01:00
e6e91b775a Disable roundcube and rspamd webui by default 2025-01-06 23:25:59 +01:00
5f49caec49 Add configuration option to alias entire domains and respective tests 2025-01-06 23:25:59 +01:00
92d0a6e1f8 tests: Add various tests for alias functionality 2025-01-06 23:25:59 +01:00
457d91bcca tests: Add basic tests for sending/receiving mails and verification of headers 2025-01-06 23:25:59 +01:00
e4fa3bee38 tests: common: Add lib.nix containing various helpers for testing mailsystem behaviour 2025-01-06 23:25:59 +01:00
6f1964e6f2 flake.nix: Add and configure treefmt-nix for nix fmt 2025-01-06 23:25:59 +01:00
d5107df08d flake.nix: Rename pre-commit-hooks-nix into git-hooks-nix
Cachix has renamed their project.
2025-01-06 23:25:59 +01:00
617b116f4c tests: minimal: Configure and verify vmail user/group/uid/gid 2025-01-06 23:25:59 +01:00
84542be242 Add minimal (internal) tests 2025-01-06 23:25:59 +01:00
e185d301ff mailsystem: Add option to use selfsigned certificates in preparation for testing 2025-01-06 23:25:59 +01:00
8a64eb9287 flake.nix: Actually expose mailsystem as nixosModule 2025-01-06 23:25:59 +01:00
c8a44b9b48 mailsystem: Add configuration for roundcube as webmail interface 2025-01-06 23:25:59 +01:00
aff4f9117f mailsystem: rspamd: Add configuration options to make rspamd's web ui accessible 2025-01-06 23:25:50 +01:00
aacf9a9b8c mailsystem: dovecot: Autolearn ham/spam when moving mails 2025-01-06 23:04:45 +01:00
9149f03384 mailsystem: Configure rspamd as spam filter 2025-01-06 23:04:45 +01:00
b805502099 mailsystem: Add basic postfix configuration 2025-01-06 23:04:45 +01:00
c738037669 mailsystem: Add minimal dovecot configuration 2025-01-06 23:04:42 +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