# 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](https://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][llmail]> [My Website][llwebsite] • [My Bento][llbento] • [X][llx] • [LinkedIn][lllinkedin] 2024 [llmail]: mailto:fyb@fybx.dev [llwebsite]: https://fybx.dev [llbento]: https://bento.me/balaban [llx]: https://x.com/fybalaban [lllinkedin]: https://linkedin.com/in/fybx