Permalink
Browse files

Merge pull request #9 from patientslikeme/COOK-1535

Simple fix that might break Postfix < 2.5; see JIRA for discussion
  • Loading branch information...
2 parents 682fe0c + 0ffe28d commit 26383c07c99803de7c494f67bdc7589d083954f0 @jtimberman jtimberman committed Sep 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 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 26383c0

Please sign in to comment.