mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
removed dns and mail support - checking le
This commit is contained in:
parent
06f670046b
commit
fa331e6ef2
1 changed files with 0 additions and 11 deletions
|
@ -36,17 +36,6 @@ for user in $users; do
|
|||
if [ ! -z "$webSuspended" ]; then
|
||||
continue;
|
||||
fi;
|
||||
# Working on DNS domain check - if is suspended
|
||||
dnsSuspended=$(grep "DOMAIN='$domain'" $USER_DATA/dns.conf |grep "SUSPENDED='no")
|
||||
if [ ! -z "$dnsSuspended" ]; then
|
||||
continue;
|
||||
fi;
|
||||
#dunno if this is needed, but i will ut it in the same way as web and dns
|
||||
# Working on MAIL domain check - if is suspended
|
||||
mailSuspended=$(grep "DOMAIN='$domain'" $USER_DATA/mail.conf |grep "SUSPENDED='no")
|
||||
if [ ! -z "$mailSuspended" ]; then
|
||||
continue;
|
||||
fi
|
||||
crt="$VESTA/data/users/$user/ssl/$domain.crt"
|
||||
crt_data=$(openssl x509 -text -in "$crt")
|
||||
expire=$(echo "$crt_data" |grep "Not After")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue