Commit aa107a60 authored by euxane's avatar euxane
Browse files

nixos/stalwart-mail: fix vm test for v0.6.0

This migrates the syntax for a few configuration values,
which now need to be quoted strings for user values.

This also disables the use of a public resolver,
which is not accessible in the sandbox.
parent f4c5060e
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -40,12 +40,14 @@ in import ./make-test-python.nix ({ lib, ... }: {
          };
        };

        session.auth.mechanisms = [ "PLAIN" ];
        session.auth.directory = "in-memory";
        storage.directory = "in-memory";  # shared with imap
        resolver.public-suffix = [ ];  # do not fetch from web in sandbox

        session.rcpt.directory = "in-memory";
        queue.outbound.next-hop = [ "local" ];
        session.auth.mechanisms = "[plain]";
        session.auth.directory = "'in-memory'";
        storage.directory = "in-memory";

        session.rcpt.directory = "'in-memory'";
        queue.outbound.next-hop = "'local'";

        directory."in-memory" = {
          type = "memory";