Oefenweb / ansible-postfix

Ansible role to set up postfix in Debian-like systems
MIT License
174 stars 83 forks source link

Encrypt outgoing messages with STARTTLS #79

Closed theel0ja closed 3 years ago

theel0ja commented 4 years ago

Currently STARTTLS for outgoing email is not enabled, as seen in headers of an email sent by a Postfix server configured by ansible-postfix:

Received: from ansible-postfix-server (ansible-postfix-server [IPv6:redacted])
    by mail.redacted with ESMTP
    for <redacted>;

Default should be:

smtp_tls_security_level = may

Read more: http://www.postfix.org/postconf.5.html#smtp_tls_security_level

tersmitten commented 4 years ago

Can you make a pull request?