Merge pull request #41 from danoe/postfix_packages
install postfix addons ( Debian Only)
This commit is contained in:
commit
aa1d4ad5a9
10
README.rst
10
README.rst
@ -34,3 +34,13 @@ Installs and configures policyd-spf
|
|||||||
------------------
|
------------------
|
||||||
|
|
||||||
Installs and starts Postgrey service
|
Installs and starts Postgrey service
|
||||||
|
|
||||||
|
``postfix.mysql``
|
||||||
|
------------------
|
||||||
|
|
||||||
|
Installs postfix mysql package ( Debian only)
|
||||||
|
|
||||||
|
``postfix.pcre``
|
||||||
|
------------------
|
||||||
|
|
||||||
|
Installs postfix pcre package ( Debian only)
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
'package': 'postfix',
|
'package': 'postfix',
|
||||||
'policyd_spf_pkg': 'postfix-policyd-spf-python',
|
'policyd_spf_pkg': 'postfix-policyd-spf-python',
|
||||||
'postgrey_pkg': 'postgrey',
|
'postgrey_pkg': 'postgrey',
|
||||||
|
'pcre_pkg': 'postfix-pcre',
|
||||||
|
'mysql_pkg': 'postfix-mysql',
|
||||||
'service': 'postfix',
|
'service': 'postfix',
|
||||||
'aliases_file': '/etc/aliases',
|
'aliases_file': '/etc/aliases',
|
||||||
},
|
},
|
||||||
|
5
postfix/mysql.sls
Normal file
5
postfix/mysql.sls
Normal 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
5
postfix/pcre.sls
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{% from "postfix/map.jinja" import postfix with context %}
|
||||||
|
|
||||||
|
pcre:
|
||||||
|
pkg.installed:
|
||||||
|
- name: {{ postfix.pcre_pkg }}
|
Loading…
Reference in New Issue
Block a user