Validate BIMI certificates

This commit is contained in:
M66B
2021-07-14 17:42:22 +02:00
parent d15322120f
commit 7a476d777d
6 changed files with 175 additions and 29 deletions

View File

@@ -832,7 +832,7 @@ public class EmailService implements AutoCloseable {
}
// Check host name
List<String> names = ConnectionHelper.getDnsNames(certificate);
List<String> names = EntityCertificate.getDnsNames(certificate);
if (ConnectionHelper.matches(server, names))
return;