docker-smtp icon indicating copy to clipboard operation
docker-smtp copied to clipboard

entrypoint.sh MAIN_TLS_ENABLE = yes

Open grumblebrian opened this issue 3 years ago • 0 comments

entrypoint.sh contains the following conditional block that is either incorrect or unnecessary:

        if [ "$MAILNAME" ]; then
                echo "MAIN_TLS_ENABLE = yes" >> /etc/exim4/exim4.conf.localmacro
s
        else
                echo "MAIN_TLS_ENABLE = yes" >> /etc/exim4/exim4.conf.localmacros
        fi

I suspect that the else clause should be setting MAIN_TLS_ENABLE to no if there is MAILNAME variable set, but I could be mistaken.

grumblebrian avatar Mar 30 '21 17:03 grumblebrian