You've already forked docker-mailserver
mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-08 23:06:49 +02:00
Fixed REPORT_RECIPIENT=1 behavior
Condition never matched, so reports were sent to 1@ instead of postmaster@
This commit is contained in:
@ -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}}"
|
||||
|
Reference in New Issue
Block a user