Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
HaiSoft (public)
Plesk - Mail Password Checker
Commits
e4161a4b
Commit
e4161a4b
authored
Oct 13, 2017
by
UltimateByte
Committed by
GitHub
Oct 13, 2017
Browse files
Fixes an issue when the mailbox is disabled
parent
b2454971
Changes
1
Hide whitespace changes
Inline
Side-by-side
plesk_mail_password_check.sh
View file @
e4161a4b
...
...
@@ -113,7 +113,7 @@ fn_check_password_global(){
if
[
-f
"check_auth.txt"
]
;
then
while
read
-r
line
;
do
mailaddress
=
"
$(
echo
"
${
line
}
"
|
awk
'{print $2}'
)
"
mailpassword
=
"
$(
echo
"
${
line
}
"
|
awk
'{print $
5
}'
)
"
mailpassword
=
"
$(
echo
"
${
line
}
"
|
awk
-F
"|"
'{print $
4}'
|
awk
'{print $1
}'
)
"
fn_echo
"Testing:
${
mailaddress
}
"
fn_check_password_global
done
< <
(
cat
check_auth.txt
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment