Commit Graph

58 Commits

Author SHA1 Message Date
Tim Smith fe19de29ce Cookstyle fixes
Signed-off-by: Tim Smith <tsmith@chef.io>
2017-01-17 23:51:50 -08:00
Tim Smith 3ea284d576 Merge branch 'master' of git://github.com/voroniys/postfix into voroniys-master 2017-01-17 23:50:55 -08:00
Seth Thomas d9c3923f4a Cookstyle hotfix should fix builds 2016-12-22 22:08:08 -05:00
Tim Smith 2ffa7386b8 Update copyright headers
Signed-off-by: Tim Smith <tsmith@chef.io>
2016-11-25 11:41:14 -08:00
Tim Smith 4d071581fa Remove encoding
There's no need for this

Signed-off-by: Tim Smith <tsmith@chef.io>
2016-09-08 10:12:47 -07:00
Tim Smith 43633409a7 Use node.normal vs. node.set to avoid deprecation warnings
Signed-off-by: Tim Smith <tsmith@chef.io>
2016-09-07 21:56:11 -07:00
Tim Smith 10375cf989 Resolve rubocop warnings 2016-04-01 11:53:36 -07:00
Stanislav Voroniy 0c0580f7e5 Make foodcritic and rubocop happy again 2015-10-06 10:17:11 +02:00
Stanislav Voroniy 525d67394a Support for any kind of postfix lookup tables 2015-09-30 09:54:46 +02:00
Tim Smith 770e65103f Rubocop fixes 2015-09-24 15:07:56 -07:00
Stanislav Voroniy 3b2a268d6d Fully customizable master.cf file 2015-09-12 11:12:08 +02:00
Stanislav Voroniy 52a675d1c8 Manage any hash: tables for postfix with hash_maps recipe 2015-09-11 15:02:18 +02:00
Stanislav Voroniy c9613ac670 Fixes for Travis CI 2015-09-11 14:56:12 +02:00
Matthieu Vachon 3445567364 Using node.default_unless instead of node.default in _attributes
* Wrapper cookbook usually uses default level to override attributes
   of the wrapped cookbook. Here, we had a problem because if the
   wrapper cookbook was enabling sasl and was setting a relayhost
   and a user/password combination using the default level, this was
   not working because _attributes resets those attributes.

   To fix this, we now use node.default_unless which will set the
   attribute only if it's not already set ensuring that wrapper
   cookbook overriden attributes using default level are correctly
   kept when computing derived attributes.
2015-08-27 17:17:30 -04:00
Thom May 5c8bbc90e5 fix spelling of restriction 2015-06-23 15:27:27 +01:00
Joris van Lieshout 2cbe7c42b4 Adding functionality to restrict 'rcpt to' domains 2015-06-23 14:53:15 +01:00
Nathan L Smith 689345ac5c make password file resource sensitive 2015-05-03 23:10:24 -05:00
Sean OMeara aa1f845864 opscode2chef 2015-02-18 15:49:35 -05:00
drag00n ea93c2b0a5 Fix several rubocop errors.
Deleted extra blank space, used 2 spaces instead of 3, use parens
instead of curly braces
2014-11-14 23:22:26 -05:00
Craig Lewis 957bc02016 Rubocop fixes. 2014-10-31 16:09:46 -07:00
Craig Lewis fbeb44dae1 Fix FreeBSD isms in Postfix. 2014-10-31 16:00:52 -07:00
Chase Bolt 17cb0d866d Fix logic around include_recipe 'postfix::virtual_aliases_domains'
Signed-off-by: Sean OMeara <someara@opscode.com>
2014-10-28 16:36:14 -04:00
Sean OMeara c0678ed475 Merge pull request #85 from chasebolt/attributes_conditionals
moving conditional attributes to a recipe
2014-09-11 14:27:04 -04:00
Chase Bolt fabbaeba4a restart postfix after updating virtual alias templates #86 2014-09-09 16:32:33 -07:00
Chase Bolt d972e58fa4 moving conditional attributes to a recipe so they can be modified via other cookbook attributes 2014-09-09 11:11:30 -07:00
Chase Bolt 7b5096f715 moving virtual domain usage into a use_virtual_aliases_domains block to mimic use_virtual_aliases 2014-08-20 13:46:03 -07:00
Chase Bolt 7fd9784867 adding the usage of virtual_domains along with other file types other than hash 2014-08-20 13:29:55 -07:00
Sander van Harmelen 09d0e1772b Fix for issue #81 2014-08-19 18:32:01 +02:00
Sander van Harmelen 489bfaacbe Refactoring trying to fix some logic issues 2014-07-17 12:23:59 +02:00
Sean OMeara 140e1c759b Revert "[COOK-3418] - Virtual Domain Support"
This reverts commit d6bec0d045.
2014-06-11 16:51:55 -04:00
Tim Smith e6b58b270b #68 -Properly handle binding to loopback on mixed IPV4/IPV6 systems
Signed-off-by: Sean OMeara <someara@opscode.com>
2014-06-11 14:04:34 -04:00
Sander van Harmelen e4c9b11039 #67 -[COOK-4662] Added support for access control
Signed-off-by: Sean OMeara <someara@opscode.com>
2014-06-11 14:03:14 -04:00
Sander van Harmelen bfe9cd760e #66 - [COOK-3652] Added support for transport mappings
Signed-off-by: Sean OMeara <someara@opscode.com>
2014-06-11 13:58:33 -04:00
skubriev e2d49e10e9 #64 - add smtp_generic maps configuration option
Signed-off-by: Sean OMeara <someara@opscode.com>
2014-06-11 13:50:20 -04:00
Harm de Wit 80d37848cb #55 - Add support for virtual aliases
Signed-off-by: Sean OMeara <someara@opscode.com>
2014-06-11 13:39:39 -04:00
Braden Wright d6bec0d045 [COOK-3418] - Virtual Domain Support
Signed-off-by: Sean OMeara <someara@opscode.com>
2014-06-11 13:10:01 -04:00
Patrick Moore 0a42b0722b [COOK-4619] - no way to unset recipient_delimiter
Signed-off-by: Sean OMeara <someara@opscode.com>
2014-05-09 13:51:12 -04:00
Ian Neubert 1c3f6981ee [COOK-4410] - Fix sender_canonical configuration by adding template and postmap execution
Signed-off-by: Sean OMeara <someara@opscode.com>
2014-03-27 23:24:57 -04:00
Joshua Timberman 75da4877bd COOK-4357, fix convergence for sasl_auth
Signed-off-by: Sean OMeara <someara@opscode.com>
2014-02-19 18:59:15 -05:00
Joshua Timberman 14612d63fd COOK-4086, add omnios support
Signed-off-by: Sean OMeara <someara@opscode.com>
2014-02-19 01:13:02 -05:00
Mick Brooks 14fc7d7919 [COOK-4322]: Fix the default path for the sasl_passwd file
Signed-off-by: Sean OMeara <someara@opscode.com>
2014-02-19 01:06:56 -05:00
Sean OMeara b113d5bc48 cutting rubocop offenses down to 32 2013-11-04 21:37:55 -05:00
elliotkendallUCSF 3485a81fab [COOK-2551] Support creating the sender_canonical map file
Signed-off-by: Seth Vargo <sethvargo@gmail.com>
2013-10-09 17:27:56 -04:00
Julian C. Dunn 5e06cdc9a0 [COOK-2499] Do not clone service resource
Signed-off-by: Seth Vargo <sethvargo@gmail.com>
2013-09-25 20:39:06 -04:00
sawanoboly a1f685680c [COOK-3116] Add SmartOS support
Signed-off-by: Seth Vargo <sethvargo@gmail.com>
2013-09-09 23:21:42 -04:00
Mark Cornick 330f140c71 [COOK-3530] Move node['postfix']['relayhost'] to node['postfix']['main']['relayhost']
Signed-off-by: Seth Vargo <sethvargo@gmail.com>
2013-09-09 23:17:10 -04:00
Eric G. Wolfe 0108248ac4 [COOK-3328] Refactor main.cf template and attributes
Signed-off-by: Seth Vargo <sethvargo@gmail.com>
2013-08-24 14:04:22 -04:00
sawanoboly ec66641bdf [COOK-2281] postfix aliases uses require_recipe statement yet, should be include_recipe. 2013-01-28 17:27:24 +09:00
Trae Robrock 021871537b Include the proper sasl plain packages cite: http://sendgrid.com/docs/Integrate/Mail%20Servers/postfix.html 2012-12-04 15:07:30 -08:00
jtimberman d2f29085a3 [COOK-1792] - add minitest-chef tests
* Create minitest-chef tests
* Also use better style (don't specify action if its the default, use
  5 digit modes, update notification syntax)
2012-10-20 20:41:00 -06:00