summaryrefslogtreecommitdiffstats
path: root/roles/lists/templates/etc/postfix/main.cf.j2
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-07-04 01:07:44 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:52:25 +0200
commitbb880fcc504dba39a7ba610ccb84187e863b1288 (patch)
treedd266d9423770d0daba849d0a31d31423da88a66 /roles/lists/templates/etc/postfix/main.cf.j2
parent58e65628313da8990f1e5cb26bfe4e10e128034e (diff)
Tell vim the underlying filetype of templates for syntax highlighting.
Diffstat (limited to 'roles/lists/templates/etc/postfix/main.cf.j2')
-rw-r--r--roles/lists/templates/etc/postfix/main.cf.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/lists/templates/etc/postfix/main.cf.j2 b/roles/lists/templates/etc/postfix/main.cf.j2
index b7a82fe..9859ac1 100644
--- a/roles/lists/templates/etc/postfix/main.cf.j2
+++ b/roles/lists/templates/etc/postfix/main.cf.j2
@@ -70,20 +70,22 @@ smtpd_timeout = 1200s
# Forward everything to our internal outgoing proxy
{% if 'out' in group_names %}
relayhost = [127.0.0.1]:{{ postfix_instance.out.port }}
{% else %}
relayhost = [outgoing.fripost.org]:{{ postfix_instance.out.port }}
{% endif %}
relay_domains =
{% if 'out' in group_names %}
smtp_tls_security_level = none
smtp_bind_address = 127.0.0.1
{% else %}
smtp_tls_security_level = encrypt
smtp_tls_cert_file = $config_directory/ssl/{{ ansible_fqdn }}.pem
smtp_tls_key_file = $config_directory/ssl/{{ ansible_fqdn }}.key
smtp_tls_session_cache_database = btree:$data_directory/smtp_tls_session_cache
smtp_tls_policy_maps = cdb:$config_directory/tls_policy
smtp_tls_fingerprint_digest = sha256
{% endif %}
smtpd_tls_security_level = none
+
+# vim: set filetype=pfmain :