Allow absence of root domain in dovecot SNI setup

Version 1.54

Bugfix
Finished

For non wildcard certs, related error message: "Cannot find domain in the certificate. Not setting up Mail SNI." This check is still done, but has been changed to just throw the message: "Cannot find domain in the certificate." but will continue to write the; /etc/dovecot/conf/sni/domain.com.conf without the domain.com entry in that file, if it's not in the cert. The sni conf did and will continue to load in all cert values. T12252

Interested to try DirectAdmin? Get a 30-day Free Trial!