Skip to content

SASL_PW not working  #1

@r-e-m-a

Description

@r-e-m-a

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions