thkukuk / containers-mailserver

Everything you need for a containerized mail server using postfix, dovecot, openldap ...
MIT License
2 stars 3 forks source link

need to config smtp_tls_wrappermode and smtp_tls_security_level #2

Open johnsonbrothers opened 9 months ago

johnsonbrothers commented 9 months ago

Hi, its me again :-)

I need to use port 465 as relay port at my ISP and get this in my postfix log SMTPS wrappermode (TCP port 465) requires setting "smtp_tls_wrappermode = yes", and "smtp_tls_security_level = encrypt" (or stronger) I can see in entrypoint.sh that this cant be changed by config outside the container.

I know how to make the changes in my container, podman exec -it postfix bash -c "postconf smtp_tls_wrappermode=yes & postconf smtp_tls_security_level=encrypt & postfix reload" but how do i make this permanent?

thkukuk commented 9 months ago

This would only be possible if someone enhances the entrypoint.sh script for this. But I have currently no time for this.