misc_nixos-mailserver/tests
Martin Weinelt 8b03ae5701 Create LDAP test
Sets up a declaratively configured OpenLDAP instance with users alice
and bob. They each own one email address,

First we test that postfix can communicate with LDAP and do the expected
lookups using the defined maps.

Then we use doveadm to make sure it can look up the two accounts.

Next we check the binding between account and mail address, by logging
in as alice and trying to send from bob@example.com, which alice is not
allowed to do. We expect postfix to reject the sender address here.

Finally we check mail delivery between alice and bob. Alice tries to
send a mail from alice@example.com to bob@example.com and bob then
checks whether it arrived in their mailbox.
2023-07-11 19:31:20 +00:00
..
lib Remove the GitLab runner related code 2020-04-22 23:35:48 +02:00
clamav.nix Release 22.11 2022-12-21 22:46:04 +01:00
external.nix Release 22.11 2022-12-21 22:46:04 +01:00
internal.nix htpasswd -> mkpasswd 2022-11-27 19:14:22 +00:00
ldap.nix Create LDAP test 2023-07-11 19:31:20 +00:00
minimal.nix Convert minimal test to python test driver 2022-07-19 23:54:04 +02:00
multiple.nix Preserve the compatibility with nixos-22.11 2023-06-11 17:10:14 +02:00