add new attribute to readme, use strings
This commit is contained in:
parent
bc71fa11db
commit
b6b927298e
@ -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
|
||||
=======
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user