There is a LOT TO DO, but it works for me so far. This was created because there is mailinabox for ubuntu, but nothing for centos
This cookbook is a side project that does the following:
- Installs and configures:
- postfix
- dovecot
- mariadb
- spamassassin
- postgrey-milter
- clamav-milter
- opendkim
- postscreen
Manual Steps:
- After installing postfixadmin, you have to go to:
- https://yoursite.com/setup.php and let it set things up, and copy the hash to
- /var/www/html/postfixadmin/config.inc.php
- Setup your domains/mailboxes in postfixadmin (or direct sql)
- Copy opendkim keys to your DNS TXT records
- Ensure EPEL Repo is setup on your server
- https://yoursite.com/setup.php and let it set things up, and copy the hash to
Quick Setup (I don't care about the things):
rpm -ivh https://opscode-omnibus-packages.s3.amazonaws.com/el/7/x86_64/chef-12.5.1-1.el7.x86_64.rpm
mkdir .chef
mkdir cookbooks
echo 'cookbook_path "/root/cookbooks"' > .chef/solo.rb
git clone https://github.com/drewlander/mailonacircle.git
mv mailonacircle cookbooks
chef-solo -c .chef/solo.rb -o recipe[mailonacircle]
- go to "https://sitename/setup.php"
- Copy the key to vim /var/www/html/postfixadmin/config.inc.php
- paste it into setup_password
- Create a new admin
- Login as the new admin
- Create a domain and mailbox in postfixadmin
- Centos 7
- desginged to be run by chef-solo (currently)
- assumues selinux is at least in permissive (enforcing recommended)
toaster
- mailonacircle needs toaster to brown your bagel.
TODO: List your cookbook attributes here. OK
Key | Type | Description | Default |
---|---|---|---|
['mailonacircle']['turkeybacon'] | Boolean | whether to include turkeybacon | true |
TODO: Write usage instructions for each cookbook.
e.g.
Just include mailonacircle
in your node's run_list
:
{
"name":"my_node",
"run_list": [
"recipe[mailonacircle]"
]
}
Contributions are welcome! This is a side project.
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Authors: drewlander drewski@drewstud.com