mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +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:
commit
b3fcfcfabd
3 changed files with 13 additions and 6 deletions
|
@ -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"];
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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)";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue