67 Commits

Author SHA1 Message Date
Jaymala Sinha
797e19dae9 Do not run service restart for solaris
Signed-off-by: Jaymala Sinha <jsinha@chef.io>
2017-11-22 10:28:28 -05:00
Ryan Hass
518f982af3 Properly support FreeBSD
We now disable all sendmail services and periodic services on FreeBSD
before attempting to start postfix. Additionally, this updates
mailer.conf mappings to use postfix applications rather than sendmail.
2017-11-16 17:22:13 -08:00
Markus Wagner
9f917c5e27 lazy evaluation of the template variables
Signed-off-by: Markus Wagner <markus.wagner@open-xchange.com>
2017-08-07 08:52:45 +02:00
Tim Smith
a6fd99b064 Merge pull request #139 from crowdworks/fix_amazon_support
Fix support for Amazon Linux
2017-07-28 09:09:21 -07:00
Bram Gillemon
ca7b0033e9 allows to rewrite outgoing address.
In my development env i want to make sure nobody can send a mail to a wrong address. So all outgoing mails are changed.

Signed-off-by: Bram Gillemon <bram@gillemon.be>
2017-07-28 16:17:09 +02:00
AkiraFukushima
e818f0687b Fix support for Amazon Linux
Signed-off-by: AkiraFukushima <akira.fukushima@crowdworks.co.jp>
2017-07-28 18:03:06 +09:00
Tom Parker
daca56f8c9 Correct attribute line for use_relay_restrictions_maps
Signed-off-by: Tom Parker <palfrey@tevp.net>
2017-06-20 22:50:00 +01:00
Jennifer Davis
94a68b1773 Fixes Issue #135 (use_relay_restrictions_maps fix)
Signed-off-by: Jennifer Davis <iennae@gmail.com>
2017-05-15 09:55:05 -07:00
Tim Smith
6d9defeba5 Update copyrights
Signed-off-by: Tim Smith <tsmith@chef.io>
2017-04-05 22:23:03 -07:00
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 d6bec0d04547048ad5a514ab63c105eed499fab8.
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