Skip to content

Instantly share code, notes, and snippets.

@ryan-lane
Forked from cebe/postfix.sls
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryan-lane/4ba08c8de48317cfc662 to your computer and use it in GitHub Desktop.
Save ryan-lane/4ba08c8de48317cfc662 to your computer and use it in GitHub Desktop.
postgrey_pkg:
pkg.installed:
- name: postgrey
postgrey_service:
service:
- name: postgrey
- running
- enable: True
- reload: True
- watch:
- file: /etc/default/postgrey
/etc/default/postgrey:
file.managed:
- source: salt://mail/mx/etc/default/postgrey
- mode: 644
- user: root
- group: root
- require:
- pkg: postgrey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment