Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Addition of new attributes as default (nil) & README update with exam…

…ple values
  • Loading branch information...
commit 16e2b58935b35837c220ca92d285955fa1af19a1 1 parent a48dcae
@djoos djoos authored jtimberman committed
Showing with 30 additions and 1 deletion.
  1. +23 −1 README.md
  2. +7 −0 attributes/default.rb
View
24 README.md
@@ -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
=======
View
7 attributes/default.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.