Merge pull request #94484 from mweinelt/postfix
nixos/tests/postfix: migrate test to use tlsTrustedAuthorities
This commit is contained in:
commit
d73f269f6e
2 changed files with 6 additions and 4 deletions
|
@ -11,9 +11,9 @@ import ./make-test-python.nix {
|
|||
enable = true;
|
||||
enableSubmission = true;
|
||||
enableSubmissions = true;
|
||||
sslCACert = certs.ca.cert;
|
||||
sslCert = certs.${domain}.cert;
|
||||
sslKey = certs.${domain}.key;
|
||||
tlsTrustedAuthorities = "${certs.ca.cert}";
|
||||
sslCert = "${certs.${domain}.cert}";
|
||||
sslKey = "${certs.${domain}.key}";
|
||||
submissionsOptions = {
|
||||
smtpd_sasl_auth_enable = "yes";
|
||||
smtpd_client_restrictions = "permit";
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ stdenv, lib, fetchurl, makeWrapper, gnused, db, openssl, cyrus_sasl, libnsl
|
||||
, coreutils, findutils, gnugrep, gawk, icu, pcre, m4
|
||||
, buildPackages
|
||||
, buildPackages, nixosTests
|
||||
, withLDAP ? true, openldap
|
||||
, withPgSQL ? false, postgresql
|
||||
, withMySQL ? false, libmysqlclient
|
||||
|
@ -96,6 +96,8 @@ in stdenv.mkDerivation rec {
|
|||
--prefix PATH ":" ${lib.makeBinPath [ coreutils findutils gnugrep gawk gnused ]}
|
||||
'';
|
||||
|
||||
passthru.tests = { inherit (nixosTests) postfix postfix-raise-smtpd-tls-security-level; };
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://www.postfix.org/";
|
||||
description = "A fast, easy to administer, and secure mail server";
|
||||
|
|
Loading…
Reference in a new issue