diff --git a/sbin/letsencrypt-deploy.sh b/sbin/letsencrypt-deploy.sh index 1dc4b4d..cb4e635 100755 --- a/sbin/letsencrypt-deploy.sh +++ b/sbin/letsencrypt-deploy.sh @@ -19,7 +19,7 @@ if [[ -d /var/tmp/letsencrypt/ ]]; then if [[ "$domain" =~ ^mail.* ]]; then vmaildomain="${domain/mail./}" if [[ -d /var/vmail/$vmaildomain ]]; then - /usr/local/bin/vmail-dovecot-enable.sh -d $domain + /usr/local/bin/vmail-dovecot-enable.sh -d $vmaildomain /usr/local/bin/vhost-enable.sh -d $domain -m VMailHTTPS fi elif [[ -d /srv/www/$domain ]]; then