juanluisbaptiste/docker-postfix

Is supported TLS encryption(Let's Encrypt) and submission port?

falconws opened this issue · 7 comments

Is this docker-postfix supported TLS encryption and submission port(587/tcp) with let's encrypt?
If yes, I think run.sh is missing config value like below.

add_config_value "smtpd_tls_cert_file" "/etc/postfix/signed.crt"
add_config_value "smtpd_tls_key_file" "/etc/postfix/domain.key"
add_config_value "smtpd_tls_security_level" "may"

Maybe these parameters are needed for Let's Encrypt and submission port.

Hi @falconws

No it does not support this, feel free to create a PR.

I see.
Thank you for your response.

Hi @juanluisbaptiste

By the way, can postfix setup submission port(587/tcp) without a certificate(In other words, without TLS encryption)?
And can docker-postfix do that?
My purpose is that bypass outbound port 25 blocking on AWS.
https://aws.amazon.com/premiumsupport/knowledge-center/ec2-port-25-throttle/

Please teach me.
Thanks.

Hi @juanluisbaptiste

By the way, can postfix setup submission port(587/tcp) without a certificate(In other words, without TLS encryption)?
And can docker-postfix do that?
My purpose is that bypass outbound port 25 blocking on AWS.
https://aws.amazon.com/premiumsupport/knowledge-center/ec2-port-25-throttle/

Please teach me.
Thanks.

Have you read the documentation ? the default port is 587.

@juanluisbaptiste
Sorry, understood.

@juanluisbaptiste

Have you read the documentation ? the default port is 587.

You said that, but implementation is
https://github.com/juanluisbaptiste/docker-postfix/blob/master/Dockerfile#L18

EXPOSE 25

https://github.com/juanluisbaptiste/docker-postfix/blob/master/docker-compose.yml#L6

expose:
  - "25"

It looks like default port is 25.
But README.md is

SMTP_PORT (Optional, Default value: 587) Port address of the SMTP server to use.

Why?

You are looking at the wrong place, see this line on the entrypoint, but indeed there is some misguiding here with the port.