mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
fixing #1563
This commit is contained in:
parent
34e8a76300
commit
523a0e25a9
|
@ -182,8 +182,7 @@ COPY target/fail2ban/filter.d/postfix-sasl.conf /etc/fail2ban/filter.d/postfix-s
|
|||
RUN mkdir /var/run/fail2ban
|
||||
|
||||
# Enables Pyzor and Razor
|
||||
RUN su - amavis -c "razor-admin -create && \
|
||||
razor-admin -register"
|
||||
RUN su - amavis -c "razor-admin -create && razor-admin -register"
|
||||
|
||||
# Configure DKIM (opendkim)
|
||||
# DKIM config files
|
||||
|
|
8
setup.sh
8
setup.sh
|
@ -4,7 +4,7 @@
|
|||
# included in the docker-mailserver
|
||||
|
||||
set -euEo pipefail
|
||||
trap '_report_err ${_} ${LINENO} ${?}' ERR
|
||||
trap '_report_err ${_:-"SOURCE UNKNOWN"} ${LINENO} ${?}' ERR
|
||||
|
||||
function _report_err()
|
||||
{
|
||||
|
@ -274,9 +274,9 @@ function _main()
|
|||
|
||||
alias)
|
||||
shift ; case ${1:-} in
|
||||
add ) shift ; _docker_image addalias "${@}" ;;
|
||||
del ) shift ; _docker_image delalias "${@}" ;;
|
||||
list ) shift ; _docker_image listalias "${@}" ;;
|
||||
add ) shift ; _docker_image addalias "${1}" "${2}" ;;
|
||||
del ) shift ; _docker_image delalias "${1}" "${2}" ;;
|
||||
list ) shift ; _docker_image listalias ;;
|
||||
* ) _usage ;;
|
||||
esac
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue