mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Fixed REPORT_RECIPIENT=1 behavior
Condition never matched, so reports were sent to 1@ instead of postmaster@
This commit is contained in:
parent
c1a6bd9d3d
commit
a8d7d1802b
|
@ -392,10 +392,9 @@ function _setup_default_vars
|
|||
fi
|
||||
|
||||
# expand address to simplify the rest of the script
|
||||
if [[ ${REPORT_RECIPIENT} == "0" ]] || [[ ${REPORT_RECIPIENT} == "0" ]]
|
||||
if [[ ${REPORT_RECIPIENT} == "0" ]] || [[ ${REPORT_RECIPIENT} == "1" ]]
|
||||
then
|
||||
REPORT_RECIPIENT="${POSTMASTER_ADDRESS}"
|
||||
REPORT_RECIPIENT="${REPORT_RECIPIENT}"
|
||||
fi
|
||||
|
||||
PFLOGSUMM_RECIPIENT="${PFLOGSUMM_RECIPIENT:=${REPORT_RECIPIENT}}"
|
||||
|
|
Loading…
Reference in a new issue