install postfix addons ( Debian Only)

- mysql
  - pcre
This commit is contained in:
Daniel Oetken 2016-05-24 11:49:28 +02:00
parent ddf1aa6ce2
commit 8e7544a5a8
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 }}