This commit is contained in:
Georg Lauterbach 2020-09-09 11:19:57 +02:00
parent 34e8a76300
commit 523a0e25a9
No known key found for this signature in database
GPG key ID: 386D76E7AD496709
2 changed files with 5 additions and 6 deletions

View file

@ -182,8 +182,7 @@ COPY target/fail2ban/filter.d/postfix-sasl.conf /etc/fail2ban/filter.d/postfix-s
RUN mkdir /var/run/fail2ban RUN mkdir /var/run/fail2ban
# Enables Pyzor and Razor # Enables Pyzor and Razor
RUN su - amavis -c "razor-admin -create && \ RUN su - amavis -c "razor-admin -create && razor-admin -register"
razor-admin -register"
# Configure DKIM (opendkim) # Configure DKIM (opendkim)
# DKIM config files # DKIM config files

View file

@ -4,7 +4,7 @@
# included in the docker-mailserver # included in the docker-mailserver
set -euEo pipefail set -euEo pipefail
trap '_report_err ${_} ${LINENO} ${?}' ERR trap '_report_err ${_:-"SOURCE UNKNOWN"} ${LINENO} ${?}' ERR
function _report_err() function _report_err()
{ {
@ -274,9 +274,9 @@ function _main()
alias) alias)
shift ; case ${1:-} in shift ; case ${1:-} in
add ) shift ; _docker_image addalias "${@}" ;; add ) shift ; _docker_image addalias "${1}" "${2}" ;;
del ) shift ; _docker_image delalias "${@}" ;; del ) shift ; _docker_image delalias "${1}" "${2}" ;;
list ) shift ; _docker_image listalias "${@}" ;; list ) shift ; _docker_image listalias ;;
* ) _usage ;; * ) _usage ;;
esac esac
;; ;;