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.
This commit is contained in:
euxane
2024-05-15 00:45:21 +02:00
parent f4c5060ecc
commit aa107a60c4
+7 -5
View File
@@ -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";