add support for postsrsd
This commit is contained in:
parent
d75184a7d1
commit
8929c185fc
4 changed files with 22 additions and 0 deletions
|
@ -44,3 +44,9 @@ Installs postfix mysql package ( Debian only)
|
|||
------------------
|
||||
|
||||
Installs postfix pcre package ( Debian only)
|
||||
|
||||
|
||||
``postfix.postsrsd``
|
||||
------------------
|
||||
|
||||
Installs postfix postsrsd package
|
||||
|
|
|
@ -28,6 +28,12 @@ postfix:
|
|||
recipient_delimiter: +
|
||||
inet_interfaces: all
|
||||
|
||||
#postsrsd:
|
||||
sender_canonical_maps: tcp:127.0.0.1:10001
|
||||
sender_canonical_classes: envelope_sender
|
||||
recipient_canonical_maps: tcp:127.0.0.1:10002
|
||||
recipient_canonical_classes: envelope_recipient
|
||||
|
||||
# Alias
|
||||
alias_maps: hash:/etc/aliases
|
||||
alias_database: hash:/etc/aliases
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
'Debian': {
|
||||
'package': 'postfix',
|
||||
'policyd_spf_pkg': 'postfix-policyd-spf-python',
|
||||
'postsrsd_pkg': 'postsrsd',
|
||||
'postgrey_pkg': 'postgrey',
|
||||
'pcre_pkg': 'postfix-pcre',
|
||||
'mysql_pkg': 'postfix-mysql',
|
||||
|
@ -11,6 +12,7 @@
|
|||
'Gentoo': {
|
||||
'package': 'mail-mta/postfix',
|
||||
'policyd_spf_pkg': 'mail-filter/pypolicyd-spf',
|
||||
'postsrsd_pkg': 'mail-filter/postsrsd',
|
||||
'postgrey_pkg': 'mail-filter/postgrey',
|
||||
'service': 'postfix',
|
||||
'aliases_file': '/etc/mail/aliases',
|
||||
|
@ -18,6 +20,7 @@
|
|||
'RedHat': {
|
||||
'package': 'postfix',
|
||||
'policyd_spf_pkg': 'pypolicyd-spf',
|
||||
'postsrsd_pkg': 'postsrsd',
|
||||
'postgrey_pkg': 'postgrey',
|
||||
'service': 'postfix',
|
||||
'aliases_file': '/etc/aliases',
|
||||
|
@ -25,6 +28,7 @@
|
|||
'Arch' : {
|
||||
'package': 'postfix',
|
||||
'policyd_spf_pkg': 'python-postfix-policyd-spf',
|
||||
'postsrsd_pkg': 'postsrsd',
|
||||
'postgrey_pkg': 'postgrey',
|
||||
'service': 'postfix',
|
||||
'aliases_file': '/etc/aliases',
|
||||
|
|
6
postfix/postsrsd.sls
Normal file
6
postfix/postsrsd.sls
Normal file
|
@ -0,0 +1,6 @@
|
|||
{% from "postfix/map.jinja" import postfix with context %}
|
||||
|
||||
postsrsd:
|
||||
pkg.latest:
|
||||
- name: {{ postfix.postsrsd_pkg }}
|
||||
|
Loading…
Reference in a new issue