about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorJonas Heinrich <onny@project-insanity.org>2023-02-16 22:47:11 +0100
committerYt <happysalada@proton.me>2023-02-17 17:42:27 -0500
commit13ff144c70351811141067d6e77b599e146e44b2 (patch)
tree62992c56dc0bead932f2cd6b67164c20f36c122a /nixos/tests
parentd79f5d4516cbfe17a6471a157cb1d7d02ee124e3 (diff)
nixos/maddy: Add option ensureAccounts
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/maddy.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/maddy.nix b/nixos/tests/maddy.nix
index b9d0416482da1..800d254f17704 100644
--- a/nixos/tests/maddy.nix
+++ b/nixos/tests/maddy.nix
@@ -9,6 +9,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
         hostname = "server";
         primaryDomain = "server";
         openFirewall = true;
+        ensureAccounts = [ "postmaster@server" ];
       };
     };
 
@@ -50,7 +51,6 @@ import ./make-test-python.nix ({ pkgs, ... }: {
     server.wait_for_open_port(587)
 
     server.succeed("maddyctl creds create --password test postmaster@server")
-    server.succeed("maddyctl imap-acct create postmaster@server")
 
     client.succeed("send-testmail")
     client.succeed("test-imap")