Home Blog Contact

Sendmail to Ntfy

sendmail ntfy is a replacement of the sendmail linux command. This sendmail command sends mail to ntfy servers.

sendmail-netfy

Source Code API Documentation

Version: 0.0.2
License: MIT

To import this package, add the following line to your code

import "go.hansaray.pw/sendmail-netfy"

sendmail ntfy

sendmail ntfy is a replacement of the sendmail linux command.
This sendmail command sends mail to ntfy servers.

Motivation

When the host has no mail server configured services like cron can’t send error messages.

Installation

  1. Download configuration file sendmail-ntfy.conf
  2. Modify, and copy to /etc/mail/sendmail-ntfy.conf
  3. Download the correct executable from releases
  4. copy sendmail-ntfy-xxxx-xxxx to /usr/bin/sendmail