Skip to content

Commit

Permalink
Addition of new attributes as default (nil) & README update with exam…
Browse files Browse the repository at this point in the history
…ple values
  • Loading branch information
djoos authored and jtimberman committed Nov 19, 2012
1 parent a48dcae commit 16e2b58
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
24 changes: 23 additions & 1 deletion README.md
Expand Up @@ -69,7 +69,29 @@ 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
* `node['postfix']['inet_interfaces']` - interfaces to listen to, all
or loopback-only
* `node['postfix']['sender_canonical_classes']` - controls what
addresses are subject to `sender_canonical_maps` address mapping,
specify one or more of: `envelope_sender`, `header_sender` - defaults to
nil
* `node['postfix']['recipient_canonical_classes']` - controls what
addresses are subject to `recipient_canonical_maps` address mapping,
specify one or more of: `envelope_recipient`, `header_recipient` -
defaults to nil
* `node['postfix']['canonical_classes']` - controls what addresses are
subject to `canonical_maps` address mapping, specify one or more of:
`envelope_sender`, `envelope_recipient`, `header_sender`,
`header_recipient` - defaults to nil
* `node['postfix']['sender_canonical_maps']` - optional address
mapping lookup tables for envelope and header sender addresses, eg.
`hash:/etc/postfix/sender_canonical` - defaults to nil
* `node['postfix']['recipient_canonical_maps']` - optional address
mapping lookup tables for envelope and header recipient addresses,
eg. `hash:/etc/postfix/recipient_canonical` - defaults to nil
* `node['postfix']['canonical_maps']` - optional address mapping
lookup tables for message headers and envelopes, eg.
`hash:/etc/postfix/canonical` - defaults to nil

Recipes
=======
Expand Down
7 changes: 7 additions & 0 deletions attributes/default.rb
Expand Up @@ -41,3 +41,10 @@
default['postfix']['non_smtpd_milters'] = ""

default['postfix']['aliases'] = {}

default['postfix']['sender_canonical_classes'] = nil
default['postfix']['recipient_canonical_classes'] = nil
default['postfix']['canonical_classes'] = nil
default['postfix']['sender_canonical_maps'] = nil
default['postfix']['recipient_canonical_maps'] = nil
default['postfix']['canonical_maps'] = nil

0 comments on commit 16e2b58

Please sign in to comment.