/ntfy

A utility for sending notifications, on demand and when commands finish.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

About

The original main project is here: dschep/ntfy.

I implemented sending messages by mailx. Because in a company internal domain, use the mailx command to send messages is the most convenient and secure way, whitout leak data outside the internal domain.

Dependency

  1. heirloom-mailx

Configure

~/.config/ntfy/ntfy.yml:

---
backends:
    - mailx
mailx:
    receivers: "test@company.com"

Example

$ ntfy -b mailx -t 'example' send 'test'