This commit is contained in:
Michael Grote 2023-11-03 11:39:21 +01:00
parent d4ece33bce
commit 0dc508f592

1
run.sh
View file

@ -68,6 +68,7 @@ if [ ! -z "${SMTP_HEADER_TAG}" ]; then
fi fi
#Set smtp_generic_map #Set smtp_generic_map
#was speziell fur posteo nötig, da ohne return-address=info@mgrote.net die mail nicht angekommen sind
if [ ! -z "${SMTP_GENERIC_MAP}" ]; then if [ ! -z "${SMTP_GENERIC_MAP}" ]; then
echo "smtp_generic_maps = pcre:/etc/postfix/generic" >> /etc/postfix/main.cf echo "smtp_generic_maps = pcre:/etc/postfix/generic" >> /etc/postfix/main.cf
echo "${SMTP_GENERIC_MAP}" > /etc/postfix/generic echo "${SMTP_GENERIC_MAP}" > /etc/postfix/generic