Hello,
tnx for the container.
I think i found a problem.
When you use a Relay_Port SASLPW is not used anymore.
The relahost Variable become:
mail.server.tld:587
while relaypasswd use
mail.server.tld
which is not equal and so no auth is done.
FIX:
diff /opt/entrypoints/configure-postfix.sh_ORIG /opt/entrypoints/configure-postfix.sh
7c7
< echo "$RELAY_HOST $RELAY_USER:$RELAY_PASSWORD" >> /etc/postfix/relay_passwd
echo "$RELAY_HOST:$RELAY_PORT $RELAY_USER:$RELAY_PASSWORD" >> /etc/postfix/relay_passwd
Then it will work using SMTP-AUTH.
Hello,
tnx for the container.
I think i found a problem.
When you use a Relay_Port SASLPW is not used anymore.
The relahost Variable become:
mail.server.tld:587
while relaypasswd use
mail.server.tld
which is not equal and so no auth is done.
FIX:
diff /opt/entrypoints/configure-postfix.sh_ORIG /opt/entrypoints/configure-postfix.sh
7c7
< echo "$RELAY_HOST $RELAY_USER:$RELAY_PASSWORD" >> /etc/postfix/relay_passwd
Then it will work using SMTP-AUTH.