cookbook 'codenamephp_localmail', '= 3.0.1'
codenamephp_localmail (9) Versions 3.0.1 Follow0
Cookbook that installs a local mailserver and mail client for local only mail used during development
cookbook 'codenamephp_localmail', '= 3.0.1', :supermarket
knife supermarket install codenamephp_localmail
knife supermarket download codenamephp_localmail
Chef Cookbook Localmail
Cookbook that installs a local mailserver and mail client for local only mail used during development.
Requirements
Supported Platforms
- Debian Stretch
Chef
- Chef 13.0+
Cookbook Depdendencies
- apt
Usage
Add the cookbook to your Berksfile:
cookbook 'codenamephp_localmail'
Add the gui cookbook to your runlist, e.g. in a role:
{ "name": "default", "chef_type": "role", "json_class": "Chef::Role", "run_list": [ "recipe[codenamephp_localmail::postfix]" ] }
Cookbooks
Default
As per usual, the default cookbook is a no-op since it makes it easier to choose the tools by just adding the recipes which causes less concerns for backwards
compatiblity.
Postfix
Installs postfix in "local only" mode by preseeding the apt install. It also adds a main.cf.d folder and a make file that reads all .cf files from the folder and combines
them to the main.cf config so managing config becomes easier.
All mails are relayed to a local user. The user can be chosen via the attributes.
Attributes
-
default['codenamephp_localmail']['postfix']['preseed']['main_mailer_type']
The mailer type used when preseeding the postfix install, defaults toLocal only
-
default['codenamephp_localmail']['postfix']['preseed']['mailname']
The mailname used when preseeding the postfix install, defaults tostretch.localdomain
-
default['codenamephp_localmail']['postfix']['local']['user_relay']
The user the mails will be relayed to, defaults towwwdev@localhost
which means the mails will be relayed to the wwwdev user
Dependent cookbooks
apt >= 0.0.0 |
codenamephp_docker ~>1.0.0 |
docker ~>4.12 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Changelog
3.0.1 (2020-03-01)
Closed issues:
Merged pull requests:
- [RELEASE 3.0.0] #12 (bastianschwarz)
v2.0.0 (2018-09-13)
Implemented enhancements:
- Switch to postfix again ... #3
Merged pull requests:
- [RELEASE 2.0.0] #7 (bastianschwarz)
- [RELEASE 2.0.0] #5 (bastianschwarz)
v1.0.1 (2018-09-08)
Merged pull requests:
- [RELEASE 1.0.1] #2 (bastianschwarz)
v1.0.0 (2018-09-08)
Merged pull requests:
- [RELEASE 1.0.0] #1 (bastianschwarz)
* This Changelog was automatically generated by github_changelog_generator
License Metric
3.0.1 passed this metric
3.0.1 passed this metric