Commit graph

14 commits

Author SHA1 Message Date
f5bf117314 tests: rspamd: Fix sieve tests
Currently, the sieve tests only check whether the sieve scripts were
invoked. However, they could still fail due to wrong permissions, etc.
This commit enables additional logging output for dovecot2 and refines
the sieve tests to check for error messages.
2025-08-12 09:38:36 +02:00
f110705435 tests: basic: Add tests whether system users can dispatch mails
All checks were successful
Test / tests (push) Successful in 3m26s
2025-03-27 19:29:02 +01:00
c1b19d6e33 mailsystem: Use newly added 'mailnix' package to generate postfix/dovecot files 2025-02-23 18:11:47 +01:00
a1e87f70fa Merge options virtualAccountAliases and virtualDomainAliases into virtualAliases 2025-02-23 18:11:01 +01:00
faf6f549b0 Remove accounts.<name>.aliases and rename extraVirtualAliases to virtualAccountAliases
Some checks failed
Test / tests (push) Failing after 3m0s
In order to simplify configuration and reduce configuration variability,
this commit removes the option to directly add aliases to each single
mail account. Instead, aliaes should be centrally configured using the
option 'virtualAccountAliases'.
2025-01-06 23:29:40 +01:00
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
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
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