Browse files

put tls caches in data_directory, not queue_directory; this might bre…

…ak postfix <2.5
  • Loading branch information...
1 parent e2a1a30 commit 0ffe28d438eb6cac4d3754624c78fe0e4791cf6e @jaylevitt jaylevitt committed Aug 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 templates/default/main.cf.erb
View
4 templates/default/main.cf.erb
@@ -9,9 +9,9 @@ smtpd_use_tls = <%= node['postfix']['smtpd_use_tls'] %>
<% if node['postfix']['smtpd_use_tls'] == "yes" -%>
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
-smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
+smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
<% end -%>
-smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
+smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_sasl_auth_enable = <%= node['postfix']['smtp_sasl_auth_enable'] %>
<% if node['postfix']['smtp_sasl_auth_enable'] == "yes" -%>
smtp_sasl_password_maps = <%= node['postfix']['smtp_sasl_password_maps'] %>

0 comments on commit 0ffe28d

Please sign in to comment.