This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# sysmail.sh - Curl-based minimalistic nullmailer for system mails with simple queueing mechanism | |
# Requirements: GNU/Linux, bash, systemd, curl | |
# | |
# (c) 2025 Vrilcode <https://github.com/vrilcode> | |
# This is free software, and you are welcome to redistribute it under the terms of GNU GPL v3 | |
# | |
# Script expects that your SMTP server supports SMTPS (TCP 465). If you want to use STARTTLS, you | |
# have to modify the curl call in send_mail() function. |