nixos/tests: resolve postfix cert option breakages

This commit is contained in:
Martin Weinelt 2025-06-22 17:18:19 +02:00
parent 3ad72cc092
commit cd60ac44ee
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 8 additions and 4 deletions

View File

@ -28,8 +28,10 @@ in
enableSubmission = true;
enableSubmissions = true;
tlsTrustedAuthorities = "${certs.ca.cert}";
sslCert = "${certs.${domain}.cert}";
sslKey = "${certs.${domain}.key}";
config.smtpd_tls_chain_files = [
"${certs.${domain}.key}"
"${certs.${domain}.cert}"
];
};
services.dovecot2 = {
enable = true;

View File

@ -12,8 +12,10 @@ import ./make-test-python.nix {
enable = true;
enableSubmission = true;
tlsTrustedAuthorities = "${certs.ca.cert}";
sslCert = "${certs.${domain}.cert}";
sslKey = "${certs.${domain}.key}";
config.smtpd_tls_chain_files = [
"${certs.${domain}.key}"
"${certs.${domain}.cert}"
];
inherit domain;
destination = [ domain ];
localRecipients = [