Merge pull request #41 from danoe/postfix_packages

install postfix addons ( Debian Only)
This commit is contained in:
Wolodja Wentland 2016-05-24 12:12:04 +02:00
commit aa1d4ad5a9
4 changed files with 22 additions and 0 deletions

View File

@ -34,3 +34,13 @@ Installs and configures policyd-spf
------------------
Installs and starts Postgrey service
``postfix.mysql``
------------------
Installs postfix mysql package ( Debian only)
``postfix.pcre``
------------------
Installs postfix pcre package ( Debian only)

View File

@ -3,6 +3,8 @@
'package': 'postfix',
'policyd_spf_pkg': 'postfix-policyd-spf-python',
'postgrey_pkg': 'postgrey',
'pcre_pkg': 'postfix-pcre',
'mysql_pkg': 'postfix-mysql',
'service': 'postfix',
'aliases_file': '/etc/aliases',
},

5
postfix/mysql.sls Normal file
View File

@ -0,0 +1,5 @@
{% from "postfix/map.jinja" import postfix with context %}
mysql:
pkg.installed:
- name: {{ postfix.mysql_pkg }}

5
postfix/pcre.sls Normal file
View File

@ -0,0 +1,5 @@
{% from "postfix/map.jinja" import postfix with context %}
pcre:
pkg.installed:
- name: {{ postfix.pcre_pkg }}