Clone this wiki locally
Moonshine ships with postfix out of the box, to handle those cases where your application needs to send email.
To disable postfix, add this to
:postfix: :enable: false
At this time, there's minimal configuration options for adjusting how moonshine works, because there are so many variations. If you need to adjust anything, we recommend creating a template for it and customizing it as necessary, using the installed main.cf as a base:
$ scp server:/etc/postfix/main.cf app/manifests/templates/main.cf.erb
Then make a recipe to manage that:
recipe :postfix_configuration def postfix_configuration file '/etc/postfix/main.cf', :ensure => :present, :content => template('main.cf.erb') :require => package('postfix'), :notify => service('postfix') end