Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into pr-133
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten committed Mar 20, 2024
2 parents 0055c62 + b40e10e commit 9ffb4fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ None
* `postfix_smtpd_tls_cert_file` [default: `/etc/ssl/certs/ssl-cert-snakeoil.pem`]: Path to certificate file
* `postfix_smtpd_tls_key_file` [default: `/etc/ssl/certs/ssl-cert-snakeoil.key`]: Path to key file

* `postfix_smtpd_security_level` [optional]: The SMTP TLS security level for the Postfix SMTP server ([see](http://www.postfix.org/postconf.5.html#smtpd_tls_security_level))
* `postfix_raw_options` [default: `[]`]: List of lines (to pass extra (unsupported) configuration)

## Dependencies
Expand Down
5 changes: 4 additions & 1 deletion templates/etc/postfix/main.cf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ compatibility_level = {{ postfix_compatibility_level }}
# TLS parameters
smtpd_tls_cert_file = {{ postfix_smtpd_tls_cert_file }}
smtpd_tls_key_file = {{ postfix_smtpd_tls_key_file }}
smtpd_use_tls=yes
smtpd_use_tls = yes
{% if postfix_smtpd_tls_security_level is defined %}
smtpd_tls_security_level = {{ postfix_smtpd_tls_security_level }}
{% endif %}
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

Expand Down

0 comments on commit 9ffb4fc

Please sign in to comment.