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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user