diff --git a/test/config/opendkim/KeyTable b/test/config/opendkim/KeyTable index 6bac0098..cb6bc538 100644 --- a/test/config/opendkim/KeyTable +++ b/test/config/opendkim/KeyTable @@ -1,2 +1,2 @@ -mail._domainkey.localhost.localdomain localhost.localdomain:mail:/tmp/docker-mailserver/opendkim/keys/localhost.localdomain/mail.private -mail._domainkey.otherdomain.tld otherdomain.tld:mail:/tmp/docker-mailserver/opendkim/keys/otherdomain.tld/mail.private +mail._domainkey.localhost.localdomain localhost.localdomain:mail:/etc/opendkim/keys/localhost.localdomain/mail.private +mail._domainkey.otherdomain.tld otherdomain.tld:mail:/etc/opendkim/keys/otherdomain.tld/mail.private diff --git a/test/tests.bats b/test/tests.bats index 8e867b86..e0cbb798 100644 --- a/test/tests.bats +++ b/test/tests.bats @@ -1141,6 +1141,8 @@ load 'test_helper/bats-assert/load' @test "checking saslauthd: ldap smtp authentication" { run docker exec mail_with_ldap /bin/sh -c "nc -w 5 0.0.0.0 25 < /tmp/docker-mailserver-test/auth/sasl-ldap-smtp-auth.txt | grep 'Authentication successful'" assert_success + run docker exec mail_with_ldap /bin/sh -c "openssl s_client -quiet -starttls smtp -connect 0.0.0.0:587 < /tmp/docker-mailserver-test/auth/sasl-ldap-smtp-auth.txt | grep 'Authentication successful'" + assert_success }