add milter related parameters to main.cf

This commit is contained in:
Jeremiah Snapp 2012-08-09 09:41:25 -04:00 committed by jtimberman
parent 28b1b1599c
commit 223907dbb0
2 changed files with 10 additions and 0 deletions

View File

@ -35,4 +35,9 @@ default['postfix']['smtp_sasl_passwd'] = ""
default['postfix']['use_procmail'] = false
default['postfix']['milter_default_action'] = "tempfail"
default['postfix']['milter_protocol'] = "6"
default['postfix']['smtpd_milters'] = ""
default['postfix']['non_smtpd_milters'] = ""
default['postfix']['aliases'] = {}

View File

@ -42,3 +42,8 @@ mailbox_command = /usr/bin/procmail -a "$EXTENSION"
<% end -%>
mailbox_size_limit = 0
recipient_delimiter = +
milter_default_action = <%= node['postfix']['milter_default_action'] %>
milter_protocol = <%= node['postfix']['milter_protocol'] %>
smtpd_milters = <%= node['postfix']['smtpd_milters'] %>
non_smtpd_milters = <%= node['postfix']['non_smtpd_milters'] %>