Skip to content

Instantly share code, notes, and snippets.

Created June 30, 2016 17:36
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 anonymous/ea70a0fbb4da43a293e4aad368c3e121 to your computer and use it in GitHub Desktop.
Save anonymous/ea70a0fbb4da43a293e4aad368c3e121 to your computer and use it in GitHub Desktop.
/etc/postfix/recipients:
cmd.wait:
- name: postmap /etc/postfix/recipients
- watch:
- file: /etc/postfix/recipients
- watch_in:
- service: postfix
file.managed:
- unless:
- "test -f /etc/postfix/recipients"
- name: /etc/postfix/recipients
- source: salt://mail/etc/postfix/recipients
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment