diff --git a/notify.md b/notify.md index 7da41bd..5909edb 100644 --- a/notify.md +++ b/notify.md @@ -140,4 +140,28 @@ Ok, let's set notification hook: acme.sh --set-notify --notify-hook slack ``` -The `SLACK_WEBHOOK_URL`, `SLACK_CHANNEL` and `SLACK_USERNAME` will be saved in ~/.acme.sh/account.conf and will be reused when needed. \ No newline at end of file +The `SLACK_WEBHOOK_URL`, `SLACK_CHANNEL` and `SLACK_USERNAME` will be saved in ~/.acme.sh/account.conf and will be reused when needed. + + +## 5. Set notification for postmarkapp.com + +Send notification by postmarkapp.com API. The notification email will be sent to your email address. First get your [token](https://account.postmarkapp.com), then set it in your systems environment: + +```sh +#The api token. +export POSTMARK_TOKEN="xxxxxxxx" + +#The mail to address. +export POSTMARK_TO="xxx@xxx.com" + +#The mail from address. +export POSTMARK_FROM="xxx@xxx.com" +``` + +Ok, let's set notification hook: + +```sh +acme.sh --set-notify --notify-hook postmark +``` + +The `POSTMARK_TOKEN`, `POSTMARK_TO` and `POSTMARK_FROM` will be saved in ~/.acme.sh/account.conf and will be reused when needed.