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
|
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
|
||||||
|
|
8
setup.sh
8
setup.sh
|
@ -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
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue