You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jeffrey Paul 82e65ed42a add readme 1 year ago
..
README.md add readme 1 year ago
email_to_webhook add email-to-webhook 1 year ago

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