The classic sendmail utility standard but sending mail to Telegram instead of SMTP.
- Tries to send the mail as a text message if small enough, if not then it sends as a file.
- Works using a UNIX socket so tokens are not exposed to the sendmail caller.
- Extracts the headers of the message and sends the subject along with the message.
- Built in Python: Easier to adapt and contribute.
- stdlib only: No additional libraries have been used to build this. Simpler to deploy.
- NixOS ready: Just
imports
in your configuration. I recommend using something like sops-nix to deal with secrets. Integration example.
- Retrying later if failed because of bad Internet connection.
- Simplify adoption with other distros.
- Arch btw
- Fedora
- Debian-like (Ubuntu, Mint, Debian, ...)