0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

Merge pull request #311766 from pacien/stalwart-0-6-0-module-fixes

nixos/stalwart-mail: module and test fixes for v0.6.0
This commit is contained in:
Jonas Heinrich 2024-05-15 14:04:30 +02:00 committed by GitHub
commit b3fcfcfabd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 13 additions and 6 deletions

View file

@ -38,6 +38,7 @@ in {
store.blob.path = mkDefault "${dataDir}/data/blobs";
storage.data = mkDefault "db";
storage.fts = mkDefault "db";
storage.lookup = mkDefault "db";
storage.blob = mkDefault "blob";
resolver.type = mkDefault "system";
resolver.public-suffix = mkDefault ["https://publicsuffix.org/list/public_suffix_list.dat"];

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";

View file

@ -10,6 +10,7 @@
, stdenv
, darwin
, nix-update-script
, nixosTests
, rocksdb_8_3
}:
@ -60,7 +61,10 @@ rustPlatform.buildRustPackage {
# Tests require reading to /etc/resolv.conf
doCheck = false;
passthru.update-script = nix-update-script { };
passthru = {
update-script = nix-update-script { };
stalwart-mail = nixosTests.stalwart-mail;
};
meta = with lib; {
description = "Secure & Modern All-in-One Mail Server (IMAP, JMAP, SMTP)";