[Postfix] Fix HELO name
parent
75da1c6f20
commit
835c4eebb8
|
@ -341,9 +341,11 @@ EOF
|
||||||
|
|
||||||
sed -i '/User overrides/q' /opt/postfix/conf/main.cf
|
sed -i '/User overrides/q' /opt/postfix/conf/main.cf
|
||||||
echo >> /opt/postfix/conf/main.cf
|
echo >> /opt/postfix/conf/main.cf
|
||||||
if [ -f /opt/postfix/conf/extra.cf ]; then
|
touch /opt/postfix/conf/extra.cf
|
||||||
cat /opt/postfix/conf/extra.cf >> /opt/postfix/conf/main.cf
|
sed -i '/myhostname/d' /opt/postfix/conf/extra.cf
|
||||||
fi
|
echo -e "myhostname = ${MAILCOW_HOSTNAME}\n$(cat /opt/postfix/conf/extra.cf)" > /opt/postfix/conf/extra.cf
|
||||||
|
|
||||||
|
cat /opt/postfix/conf/extra.cf >> /opt/postfix/conf/main.cf
|
||||||
|
|
||||||
if [ ! -f /opt/postfix/conf/custom_transport.pcre ]; then
|
if [ ! -f /opt/postfix/conf/custom_transport.pcre ]; then
|
||||||
echo "Creating dummy custom_transport.pcre"
|
echo "Creating dummy custom_transport.pcre"
|
||||||
|
|
|
@ -254,7 +254,7 @@ services:
|
||||||
- dovecot
|
- dovecot
|
||||||
|
|
||||||
postfix-mailcow:
|
postfix-mailcow:
|
||||||
image: mailcow/postfix:1.57
|
image: mailcow/postfix:1.58
|
||||||
depends_on:
|
depends_on:
|
||||||
- mysql-mailcow
|
- mysql-mailcow
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -273,6 +273,7 @@ services:
|
||||||
- DBPASS=${DBPASS}
|
- DBPASS=${DBPASS}
|
||||||
- REDIS_SLAVEOF_IP=${REDIS_SLAVEOF_IP:-}
|
- REDIS_SLAVEOF_IP=${REDIS_SLAVEOF_IP:-}
|
||||||
- REDIS_SLAVEOF_PORT=${REDIS_SLAVEOF_PORT:-}
|
- REDIS_SLAVEOF_PORT=${REDIS_SLAVEOF_PORT:-}
|
||||||
|
- MAILCOW_HOSTNAME=${MAILCOW_HOSTNAME}
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_BIND_SERVICE
|
- NET_BIND_SERVICE
|
||||||
ports:
|
ports:
|
||||||
|
|
Loading…
Reference in New Issue