hacks/email-to-webhook
Jeffrey Paul 82e65ed42a add readme 2020-02-16 12:06:02 -08:00
..
README.md add readme 2020-02-16 12:06:02 -08:00
email_to_webhook add email-to-webhook 2020-02-16 12:04:12 -08:00

README.md

email_to_webhook

put it in /root/.forward:

|"/usr/bin/envdir /etc/environment.d /usr/local/bin/email_to_webhook"

Then:

mkdir -p /etc/environment.d
echo "https://hooks.slack.com/services/blah/blah/secretblah" > /etc/environment.d/SLACK_WEBHOOK_URL