cookbook 'zarafa', '~> 3.1.0'
zarafa (13) Versions 3.1.0 Follow1
Installs/Configures zarafa
cookbook 'zarafa', '~> 3.1.0', :supermarket
knife supermarket install zarafa
knife supermarket download zarafa
Description
Source code
Here is the Source code repository,
please fork and contribute
http://github.com/computerlyrik/chef-zarafa
Motivation
Having a eMail Server with exchange (mail/contacts/calendar) Support automatically setup for you?
Working with mobile devices and want your 'own Server' for you or your business?
Here we go.
Supports
- Automatic download and installation of zarafa
- Automatic setup of z-sync (exchange plugin)
- Using TLS for your connection encrytpion
- Authenticating and delivering mail into zarafa mailboxes
Features
- Syncing your Android/i/Windows Phone with ActiveSync
- eMail Push
- Receive and send eMail via imap
- Have two rich Webinterfaces to login wherever, whenever you want
Requirements
Operating System and Hardware Reqirements
See the Zarafa documentation for Hardware req
The recipes itself currently support Debian 7.5
Cookbooks
-
database and mysql
for setting up the mysql DB -
apache2
our favourite webserver -
postfix
our favourite mailserver -
certificate
Managing your certificate for https/TLS via a databag.
http://community.opscode.com/cookbooks/certificate - openssl
- ark
Attributes
Some pre-settings have been made. Please see attributes ruby files for reference.
required
Example
```ruby
default['zarafa']['catchall_user'] = "mydeliverymail@mydomain.com"
default['zarafa']['certificate_databag_id'] = 'mySecureDataBag'
```
optional
Example, expecting to run on myhostname.example.com
ruby
default['zarafa']['additional_domains'] = ['example.net', 'example.org']
Cookbooks
zarafa::default
Combines all cookbooks to setup a server
zarafa::apache2
Set up and configure Apache2 Webserver
zarafa::postfix
Make some basic configuration for the postfix Server.
Calls sub-recipies.
zarafa::postfix_virtual_users
Configure postfix to read Mailboxses from MySQL and deliver them via lmtp[1[1].
By default [2] server installation is configured to only deliver to unix system users.
[1] http://doc.zarafa.com/7.1/Administrator_Manual/en-US/html/_MTAIntegration.html#_configure_zcp_postfix_integration_with_the_db_plugin
[2] http://www.zarafa.com/wiki/index.php/Installing_Zarafa_from_packages
zarafa::postfix_catchall
Sets up an alias-DB for postfix to have the configured CatchAll user for the all domains we configured
zarafa::postfix_stmpd_sasl
By default, the postfix server takes all eMail via port 25. If the Server is directly connected to the internet you want to secure this connection only for logged-in users.
This recipe configures sasl to authenticate via the rimap protocol.
http://www.zarafa.com/wiki/index.php/SMTP-Auth_for_IMAP_users
zarafa::mysql
Set up the Database for zarafa
zarafa::zarafa-server
Installs the zarafa server exactly as described here:
http://www.zarafa.com/wiki/index.php/Installing_Zarafa_from_packages
zarafa::zarafa-gateway
Enables TLS on zarafa-gateway. This is used for port 145 (imap) TLS connections.
zarafa::z-push
Install and activate ActiveSync on Zarafa Server
For more see http://www.zarafa.com/content/mobility
Usage
- set all attributes mentioned above
- run
zarafa::default
- login to server and do
bash sudo /usr/bin/zarafa-admin -c test -p password -e test@example.com -f "Zarafa Test"
Contact
see metadata.rb
TODO
- fix vmail (mailbox transport or virtual boxes)
Dependent cookbooks
mysql >= 5.3.6 |
openssl >= 0.0.0 |
database >= 0.0.0 |
ark >= 0.0.0 |
apache2 >= 0.0.0 |
postfix >= 0.0.0 |
certificate >= 0.0.0 |
Contingent cookbooks
Collaborator Number Metric
3.1.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
3.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
3.1.0 failed this metric
FC064: Ensure issues_url is set in metadata: zarafa/metadata.rb:1
FC065: Ensure source_url is set in metadata: zarafa/metadata.rb:1
FC066: Ensure chef_version is set in metadata: zarafa/metadata.rb:1
FC069: Ensure standardized license defined in metadata: zarafa/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
3.1.0 passed this metric
Testing File Metric
3.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
3.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
3.1.0 failed this metric
3.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
3.1.0 failed this metric
FC064: Ensure issues_url is set in metadata: zarafa/metadata.rb:1
FC065: Ensure source_url is set in metadata: zarafa/metadata.rb:1
FC066: Ensure chef_version is set in metadata: zarafa/metadata.rb:1
FC069: Ensure standardized license defined in metadata: zarafa/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
3.1.0 passed this metric
Testing File Metric
3.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
3.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
3.1.0 failed this metric
FC065: Ensure source_url is set in metadata: zarafa/metadata.rb:1
FC066: Ensure chef_version is set in metadata: zarafa/metadata.rb:1
FC069: Ensure standardized license defined in metadata: zarafa/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
3.1.0 passed this metric
Testing File Metric
3.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
3.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
3.1.0 failed this metric
3.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number