corrected dkim keysize argument in help pages, closing #1845

This commit is contained in:
Georg Lauterbach 2021-03-10 11:21:24 +01:00
parent df54750d02
commit 4ba2315058
No known key found for this signature in database
GPG key ID: 2FDC58699AF121C6
2 changed files with 7 additions and 7 deletions

View file

@ -196,7 +196,7 @@ function _usage
Add the email account \e[37mtest@domain.tld\e[39m. You will be prompted
to input a password afterwards since no password was supplied.
\e[37m./setup.sh config dkim size 2048 domain 'whoami.com,whoareyou.org'\e[39m
\e[37m./setup.sh config dkim keysize 2048 domain 'whoami.com,whoareyou.org'\e[39m
Creates keys of length 2048 but in an LDAP setup where domains are not known to
Postfix by default, so you need to provide them yourself in a comma-separated list.
@ -357,9 +357,9 @@ function _main
;;
quota )
shift ; case ${1:-} in
set ) shift ; _docker_image setquota "${@}" ;;
del ) shift ; _docker_image delquota "${@}" ;;
case ${2:-} in
set ) shift 2 ; _docker_image setquota "${@}" ;;
del ) shift 2 ; _docker_image delquota "${@}" ;;
* ) _usage ;;
esac
;;

View file

@ -28,15 +28,15 @@ function __usage
domain Provide the domain(s) for which keys are to be generated.
\e[38;5;214mEXAMPLES\e[39m
\e[37m./setup.sh config dkim size 2048\e[39m
\e[37m./setup.sh config dkim keysize 2048\e[39m
Creates keys of length 2048 bit in a default setup where domains are obtained from
your accounts.
\e[37m./setup.sh config dkim size 2048 selector 2021-dkim\e[39m
\e[37m./setup.sh config dkim keysize 2048 selector 2021-dkim\e[39m
Creates keys of length 2048 bit in a default setup where domains are obtained from
your accounts. The DKIM selector used is '2021-dkim'.
\e[37m./setup.sh config dkim size 2048 selector 2021-dkim domain 'whoami.com,whoareyou.org'\e[39m
\e[37m./setup.sh config dkim keysize 2048 selector 2021-dkim domain 'whoami.com,whoareyou.org'\e[39m
Appropriate for an LDAP setup. Creates keys of length 2048 bit in a default setup
where domains are obtained from your accounts. The DKIM selector used is '2021-dkim'.
The domains for which DKIM keys are generated are 'whoami.com' and 'whoareyou.org'.