changed postfix_and_dovecot here too

This commit is contained in:
Jordan Wiseman 2019-02-24 22:20:02 -08:00 committed by GitHub
parent 8f7b4bcd9b
commit e533ac2838
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -444,7 +444,7 @@ acme.sh --deploy -d ftp.example.com --deploy-hook dovecot
## 17. Deploy one cert to both Postfix and Dovecot on the same host ## 17. Deploy one cert to both Postfix and Dovecot on the same host
```sh ```sh
acme.sh --deploy -d mail.example.com --deploy-hook postfix-and-dovecot acme.sh --deploy -d mail.example.com --deploy-hook postfix_and_dovecot
``` ```
The default conf files are, respectively: The default conf files are, respectively:
@ -457,7 +457,7 @@ If yours are not in the default locations, you can specify new ones:
export DEPLOY_POSTFIX_CONF="/other/dir/postfix/main.cf" export DEPLOY_POSTFIX_CONF="/other/dir/postfix/main.cf"
export DEPLOY_DOVECOT_CONF="/other/dir/dovecot/dovecot.conf" export DEPLOY_DOVECOT_CONF="/other/dir/dovecot/dovecot.conf"
acme.sh --deploy -d mail.example.com --deploy-hook postfix-and-dovecot acme.sh --deploy -d mail.example.com --deploy-hook postfix_and_dovecot
``` ```
The default commands to restart postfix or dovecot are, respectively: The default commands to restart postfix or dovecot are, respectively:
@ -470,5 +470,5 @@ If those don't work, you can specify new ones:
export DEPLOY_POSTFIX_RELOAD="/etc/init.d/postfix restart" export DEPLOY_POSTFIX_RELOAD="/etc/init.d/postfix restart"
export DEPLOY_DOVECOT_RELOAD="/etc/init.d/dovecot restart" export DEPLOY_DOVECOT_RELOAD="/etc/init.d/dovecot restart"
acme.sh --deploy -d mail.example.com --deploy-hook postfix-and-dovecot acme.sh --deploy -d mail.example.com --deploy-hook postfix_and_dovecot
``` ```