Skip to content

Commit ec6bcba

Browse files
author
Kristan Kenney
committed
Check for SSL flag status in addition to certificate existence
1 parent 6c0c403 commit ec6bcba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-add-webmail

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ if [ ! -z "$PROXY_SYSTEM" ]; then
6565
fi
6666

6767
# Enable SSL for webmail if available
68-
if [ -f $HOMEDIR/$user/conf/mail/$domain/ssl/$domain.crt ]; then
68+
if [ -f $HOMEDIR/$user/conf/mail/$domain/ssl/$domain.crt ] || [ $SSL = 'yes' ]; then
6969
if [ ! -z "$WEB_SYSTEM" ]; then
7070
add_webmail_config "$WEB_SYSTEM" "default.stpl"
7171
fi

0 commit comments

Comments
 (0)