• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Question Plesk email alert login

MicheleB

Regular Pleskian
Hello... is possible to activate an email alert when someone login on Plesk (for example when a customer enter to manage its hosting or a user enter on Plesk to manage its mail account)?
Thanks.
 
It seems there was such a feature request on Plesk UserVoice. But I could not find it right away.
 
# echo "Test text" | mail -s "Test title" [email protected]

Thanks Igor, it works except the body of the message.
If I use this format the body is empty, "Plesk event" text is not included:
echo "Plesk event" | mail -s "Alert: Plesk user logged in" tech@mypleskdomain

In addition I've two questions:
  1. Is possible to change the "from email"?
    Now I receive the email from psa user ("psaadm@mypleskdomain") but it doesn't exist.
    Is not a priority because I can activate an alias for psaadm@ but I'd like to use another email.
  2. How can I insert a message in the email including the username that logged in to Plesk?
    For example "The user 'mycustomer1' logged in to Plesk".

Thanks.
 
Last edited:
Thanks Igor, it works except the body of the message.
If I use this format the body is empty, "Plesk event" text is not included: mywegmansconnect
echo "Plesk event" | mail -s "Alert: Plesk user logged in" tech@mypleskdomain

In addition I've two questions:
  1. Is possible to change the "from email"?
    Now I receive the email from psa user ("psaadm@mypleskdomain") but it doesn't exist.
    Is not a priority because I can activate an alias for psaadm@ but I'd like to use another email.
  2. How can I insert a message in the email including the username that logged in to Plesk?
    For example "The user 'mycustomer1' logged in to Plesk".

Thanks.

Your information is very interesting. Thank you for sharing
 
Back
Top