Follow up for #2849 (#2853)

This commit is contained in:
Casper 2022-10-23 12:57:07 +02:00 committed by GitHub
parent 474eb503ae
commit c4df9c116b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View file

@ -16,8 +16,8 @@ All notable changes to this project will be documented in this file. The format
### Fixed ### Fixed
- **scripts**: Fix unbound variable error ([#2849](https://github.com/docker-mailserver/docker-mailserver/pull/2849), [#2853](https://github.com/docker-mailserver/docker-mailserver/pull/2853))
- **scripts**: Make fetchmail data persistant ([#2851](https://github.com/docker-mailserver/docker-mailserver/pull/2851)) - **scripts**: Make fetchmail data persistant ([#2851](https://github.com/docker-mailserver/docker-mailserver/pull/2851))
- **scripts**: Fix unbound variable error ([#2849](https://github.com/docker-mailserver/docker-mailserver/pull/2849))
- **scripts**: Run `user-patches.sh` right before starting daemons ([#2817](https://github.com/docker-mailserver/docker-mailserver/pull/2817)) - **scripts**: Run `user-patches.sh` right before starting daemons ([#2817](https://github.com/docker-mailserver/docker-mailserver/pull/2817))
- **scripts**: Run Amavis cron job only when Amavis is enabled ([#2831](https://github.com/docker-mailserver/docker-mailserver/pull/2831)) - **scripts**: Run Amavis cron job only when Amavis is enabled ([#2831](https://github.com/docker-mailserver/docker-mailserver/pull/2831))

View file

@ -110,16 +110,16 @@ function _main
( del ) shift 2 ; delmailuser "${@}" ;; ( del ) shift 2 ; delmailuser "${@}" ;;
( restrict ) shift 2 ; restrict-access "${@}" ;; ( restrict ) shift 2 ; restrict-access "${@}" ;;
( list ) listmailuser ;; ( list ) listmailuser ;;
( * ) _invalid_command "${1}" "${2:-}" ;; ( * ) _invalid_command "${@}" ;;
esac esac
;; ;;
( alias ) ( alias )
case ${2:-} in case ${2:-} in
( add ) shift 2 ; addalias "${1}" "${2}" ;; ( add ) shift 2 ; addalias "${@}" ;;
( del ) shift 2 ; delalias "${1}" "${2}" ;; ( del ) shift 2 ; delalias "${@}" ;;
( list ) shift 2 ; listalias ;; ( list ) shift 2 ; listalias ;;
( * ) _invalid_command "${1}" "${2:-}" ;; ( * ) _invalid_command "${@}" ;;
esac esac
;; ;;
@ -127,7 +127,7 @@ function _main
case ${2:-} in case ${2:-} in
( set ) shift 2 ; setquota "${@}" ;; ( set ) shift 2 ; setquota "${@}" ;;
( del ) shift 2 ; delquota "${@}" ;; ( del ) shift 2 ; delquota "${@}" ;;
( * ) _invalid_command "${1}" "${2:-}" ;; ( * ) _invalid_command "${@}" ;;
esac esac
;; ;;
@ -137,14 +137,14 @@ function _main
( update ) shift 2 ; updatedovecotmasteruser "${@}" ;; ( update ) shift 2 ; updatedovecotmasteruser "${@}" ;;
( del ) shift 2 ; deldovecotmasteruser "${@}" ;; ( del ) shift 2 ; deldovecotmasteruser "${@}" ;;
( list ) listdovecotmasteruser ;; ( list ) listdovecotmasteruser ;;
( * ) _invalid_command "${1}" "${2:-}" ;; ( * ) _invalid_command "${@}" ;;
esac esac
;; ;;
( config ) ( config )
case ${2:-} in case ${2:-} in
( dkim ) shift 2 ; open-dkim "${@}" ;; ( dkim ) shift 2 ; open-dkim "${@}" ;;
( * ) _invalid_command "${1}" "${2:-}" ;; ( * ) _invalid_command "${@}" ;;
esac esac
;; ;;
@ -153,7 +153,7 @@ function _main
( add-domain ) shift 2 ; addrelayhost "${@}" ;; ( add-domain ) shift 2 ; addrelayhost "${@}" ;;
( add-auth ) shift 2 ; addsaslpassword "${@}" ;; ( add-auth ) shift 2 ; addsaslpassword "${@}" ;;
( exclude-domain ) shift 2 ; excluderelaydomain "${@}" ;; ( exclude-domain ) shift 2 ; excluderelaydomain "${@}" ;;
( * ) _invalid_command "${1}" "${2:-}" ;; ( * ) _invalid_command "${@}" ;;
esac esac
;; ;;