From 87cbbe4160f66e97f8e56b4298659b658545f49c Mon Sep 17 00:00:00 2001 From: jtimberman Date: Thu, 29 Nov 2012 13:44:28 -0700 Subject: [PATCH] update readme for inet_interfaces and set nil as default --- README.md | 4 ++++ attributes/default.rb | 1 + 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index d75ac85..fdb2ab9 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,10 @@ See `attributes/default.rb` for default values. * `node['postfix']['multi_environment_relay']` - set to true if nodes should not constrain search for the relayhost in their own environment. +* `node['postfix']['inet_interfaces']` - if set, corresponds to the + inet_interfaces option in `/etc/postfix/main.cf`. nil by default, + which will result in 'all' for master `mail_type` and + 'loopback-only' for non-master (anything else) `mail_type`. * `node['postfix']['mail_relay_networks']` - corresponds to the mynetworks option in `/etc/postfix/main.cf`. * `node['postfix']['smtpd_use_tls']` - set to "yes" to use TLS for diff --git a/attributes/default.rb b/attributes/default.rb index dcb3172..ea53cf2 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -23,6 +23,7 @@ default['postfix']['relayhost'] = "" default['postfix']['mail_relay_networks'] = "127.0.0.0/8" default['postfix']['relayhost_role'] = "relayhost" default['postfix']['multi_environment_relay'] = false +default['postfix']['inet_interfaces'] = nil default['postfix']['smtpd_use_tls'] = "yes" default['postfix']['smtp_sasl_auth_enable'] = "no"