server-toolset
login-mailer.sh
Get an email when someone logs in on your server. Depends on rsyslog
and /var/log/auth.log
.
Requires you to host/use an email proxy. See git.fybx.dev/fyb/mail-proxy for a simple Express.js and nodemailer powered alternative. Fork and deploy to Vercel, it's set!
Change EMAIL
and ENDPOINT
environment variables in login-mailer.service.template
and copy to login-mailer.service
. Run install.sh
.
install.sh
and uninstall.sh
provided for ease-of-use, places systemctl service and timer, and enables it.
credits
Feel free to contact me for collaboration on anything!
Yiğid BALABAN, <fyb@fybx.dev>
My Website • My Bento • X • LinkedIn
2024
Description
Languages
Shell
100%