(o o) ____________ooO_( )_Ooo______________________________2021_06_28_ :: My VPS is sending mails :: I use this VPS for playing, testing and learning. Today I set myself the following task: I want to get a mail as soon as someone logs in directly to the server or via SSH. The mail should contain at least the username, login time and remote IP (for SSH login). But to be able to send mails from the command line, I am still missing something. After a short internet search I installed and configured sSMTP. A small info about installing and configuring sSMTP I put here -> gopher://amox.online:70/abouttec/ssmtp.txt The sending of the mail is done in /etc/profile. After some back and forth, it works perfectly. Now I just have to hope that I don't get a mail from my server when I haven't logged in at all ...