We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68f3161 commit 01293afCopy full SHA for 01293af
func/domain.sh
@@ -629,6 +629,10 @@ add_mail_ssl_config() {
629
630
# Delete SSL support for mail domain
631
del_mail_ssl_config() {
632
+
633
+ # Remove old mail certificates
634
+ rm -f $HOMEDIR/$user/conf/mail/$domain/ssl/*
635
636
# Remove dovecot configuration
637
rm -f /etc/dovecot/conf.d/domains/mail.$domain.conf
638
func/rebuild.sh
@@ -498,6 +498,7 @@ rebuild_mail_domain_conf() {
498
499
# Remove and recreate SSL configuration
500
if [ "$SSL" = 'yes' ]; then
501
+ del_mail_ssl_config
502
add_mail_ssl_config
503
504
# Update counters
0 commit comments