fix encrypted mails
This commit is contained in:
@@ -178,7 +178,7 @@ if [ "$ACTION" == "adduser" ]; then
|
|||||||
|
|
||||||
if [ $? == 0 ]; then
|
if [ $? == 0 ]; then
|
||||||
# Send infomail
|
# Send infomail
|
||||||
mailsend "New Email account created" \
|
$MAILTYPE "New Email account created" \
|
||||||
"A new Email account has been created." \
|
"A new Email account has been created." \
|
||||||
"User: $USER | Password: $PASS"
|
"User: $USER | Password: $PASS"
|
||||||
|
|
||||||
@@ -210,7 +210,7 @@ if [ "$ACTION" == "changepw" ]; then
|
|||||||
|
|
||||||
if [ $? == 0 ]; then
|
if [ $? == 0 ]; then
|
||||||
# Send infomail
|
# Send infomail
|
||||||
mailsend "Email password changed" \
|
$MAILTYPE "Email password changed" \
|
||||||
"An Email account password has been changed." \
|
"An Email account password has been changed." \
|
||||||
"User: $USER | New Password: $PASS"
|
"User: $USER | New Password: $PASS"
|
||||||
|
|
||||||
@@ -309,7 +309,7 @@ if [ "$ACTION" == "deluser" ]; then
|
|||||||
|
|
||||||
if [ $? == 0 ]; then
|
if [ $? == 0 ]; then
|
||||||
# Send infomail
|
# Send infomail
|
||||||
mailsend "Email account deleted" \
|
$MAILTYPE "Email account deleted" \
|
||||||
"An Email account has been deleted." \
|
"An Email account has been deleted." \
|
||||||
"User: $USER"
|
"User: $USER"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user