Password must be the second parameter
This commit is contained in:
parent
b8e6d3609d
commit
e7fd385312
|
@ -7,8 +7,7 @@ function _main() {
|
|||
_require_n_parameters_or_print_usage 1 "${@}"
|
||||
|
||||
local MAIL_ACCOUNT="${1}"
|
||||
shift
|
||||
local PASSWD="${*}"
|
||||
local PASSWD="${2}"
|
||||
|
||||
_manage_accounts_dovecotmaster_create "${MAIL_ACCOUNT}" "${PASSWD}"
|
||||
}
|
||||
|
|
|
@ -8,8 +8,7 @@ function _main() {
|
|||
|
||||
local DOMAIN="${1}"
|
||||
local RELAY_ACCOUNT="${2}"
|
||||
shift 2
|
||||
local PASSWD="${*}"
|
||||
local PASSWD="${2}"
|
||||
|
||||
_validate_parameters
|
||||
_add_relayhost_credentials
|
||||
|
|
|
@ -7,8 +7,7 @@ function _main() {
|
|||
_require_n_parameters_or_print_usage 1 "${@}"
|
||||
|
||||
local MAIL_ACCOUNT="${1}"
|
||||
shift
|
||||
local PASSWD="${*}"
|
||||
local PASSWD="${2}"
|
||||
|
||||
_manage_accounts_dovecotmaster_update "${MAIL_ACCOUNT}" "${PASSWD}"
|
||||
}
|
||||
|
|
|
@ -7,8 +7,7 @@ function _main() {
|
|||
_require_n_parameters_or_print_usage 1 "${@}"
|
||||
|
||||
local MAIL_ACCOUNT="${1}"
|
||||
shift
|
||||
local PASSWD="${*}"
|
||||
local PASSWD="${2}"
|
||||
|
||||
_manage_accounts_update "${MAIL_ACCOUNT}" "${PASSWD}"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue