Add notify postmark

master
Honza Hommer 2019-06-03 02:03:13 +02:00
parent b8a34ce2d8
commit 0676f729f0
1 changed files with 25 additions and 1 deletions

@ -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.
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.