Add support for additional SMTP ports OUT.

This commit is contained in:
2025-01-27 23:39:56 +01:00
parent 80bf02d7ad
commit c2d62b72bd
5 changed files with 81 additions and 0 deletions

View File

@ -727,6 +727,27 @@ done
IFS="$CUR_IFS"
# ---
# Additional SMTP Outgoing Ports
# ---
declare -a smtpd_additional_outgoung_port_arr=()
CUR_IFS="$IFS"
IFS=',' ; for _port in $smtpd_additional_outgoung_ports ; do
if containsElement "${_port}" "${out_tcp_port_arr[@]}" ; then
continue
fi
smtpd_additional_outgoung_port_arr+=("${_port}")
if $allow_mail_request_out ; then
out_tcp_port_arr+=("$_port")
fi
done
IFS="$CUR_IFS"
# ---
# - FTP out only