Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add milter related parameters to main.cf

  • Loading branch information...
commit 223907dbb06c2d00373c9c4e35ed93c6a6b4dea0 1 parent 28b1b15
@jeremiahsnapp jeremiahsnapp authored jtimberman committed
Showing with 10 additions and 0 deletions.
  1. +5 −0 attributes/default.rb
  2. +5 −0 templates/default/main.cf.erb
View
5 attributes/default.rb
@@ -35,4 +35,9 @@
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
5 templates/default/main.cf.erb
@@ -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'] %>
Please sign in to comment.
Something went wrong with that request. Please try again.