Skip to content

Commit

Permalink
add new attribute to readme, use strings
Browse files Browse the repository at this point in the history
  • Loading branch information
jtimberman committed Oct 31, 2012
1 parent bc71fa1 commit b6b9272
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -69,6 +69,7 @@ See `attributes/default.rb` for default values.
`smtpd_milters` option in `/etc/postfix/main.cf`.
* `node['postfix']['non_smtpd_milters']` - corresponds to the
`non_smtpd_milters` option in `/etc/postfix/main.cf`.
* `node['postfix']['inet_interfaces']` - interfaces to listen to, all or loopback-only

Recipes
=======
Expand Down
4 changes: 2 additions & 2 deletions templates/default/main.cf.erb
Expand Up @@ -31,11 +31,11 @@ mydestination = <%= node['postfix']['myhostname'] %>, <%= node['hostname'] %>, l
<% if node['postfix']['mail_type'] == "master" -%>
relayhost =
mynetworks = <%= node['postfix']['mail_relay_networks'] %>
inet_interfaces = <%= node[:postfix][:inet_interfaces] || 'all' %>
inet_interfaces = <%= node['postfix']['inet_interfaces'] || 'all' %>
<% else -%>
relayhost = <%= node['postfix']['relayhost'] %>
mynetworks = <%= node['postfix']['mail_relay_networks'] %>
inet_interfaces = <%= node[:postfix][:inet_interfaces] || 'loopback-only' %>
inet_interfaces = <%= node['postfix']['inet_interfaces'] || 'loopback-only' %>
<% end -%>
<% if node['postfix']['use_procmail'] -%>
mailbox_command = /usr/bin/procmail -a "$EXTENSION"
Expand Down

0 comments on commit b6b9272

Please sign in to comment.