add support for postsrsd
This commit is contained in:
parent
d75184a7d1
commit
8929c185fc
@ -44,3 +44,9 @@ Installs postfix mysql package ( Debian only)
|
|||||||
------------------
|
------------------
|
||||||
|
|
||||||
Installs postfix pcre package ( Debian only)
|
Installs postfix pcre package ( Debian only)
|
||||||
|
|
||||||
|
|
||||||
|
``postfix.postsrsd``
|
||||||
|
------------------
|
||||||
|
|
||||||
|
Installs postfix postsrsd package
|
||||||
|
@ -28,6 +28,12 @@ postfix:
|
|||||||
recipient_delimiter: +
|
recipient_delimiter: +
|
||||||
inet_interfaces: all
|
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
|
||||||
alias_maps: hash:/etc/aliases
|
alias_maps: hash:/etc/aliases
|
||||||
alias_database: hash:/etc/aliases
|
alias_database: hash:/etc/aliases
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
'Debian': {
|
'Debian': {
|
||||||
'package': 'postfix',
|
'package': 'postfix',
|
||||||
'policyd_spf_pkg': 'postfix-policyd-spf-python',
|
'policyd_spf_pkg': 'postfix-policyd-spf-python',
|
||||||
|
'postsrsd_pkg': 'postsrsd',
|
||||||
'postgrey_pkg': 'postgrey',
|
'postgrey_pkg': 'postgrey',
|
||||||
'pcre_pkg': 'postfix-pcre',
|
'pcre_pkg': 'postfix-pcre',
|
||||||
'mysql_pkg': 'postfix-mysql',
|
'mysql_pkg': 'postfix-mysql',
|
||||||
@ -11,6 +12,7 @@
|
|||||||
'Gentoo': {
|
'Gentoo': {
|
||||||
'package': 'mail-mta/postfix',
|
'package': 'mail-mta/postfix',
|
||||||
'policyd_spf_pkg': 'mail-filter/pypolicyd-spf',
|
'policyd_spf_pkg': 'mail-filter/pypolicyd-spf',
|
||||||
|
'postsrsd_pkg': 'mail-filter/postsrsd',
|
||||||
'postgrey_pkg': 'mail-filter/postgrey',
|
'postgrey_pkg': 'mail-filter/postgrey',
|
||||||
'service': 'postfix',
|
'service': 'postfix',
|
||||||
'aliases_file': '/etc/mail/aliases',
|
'aliases_file': '/etc/mail/aliases',
|
||||||
@ -18,6 +20,7 @@
|
|||||||
'RedHat': {
|
'RedHat': {
|
||||||
'package': 'postfix',
|
'package': 'postfix',
|
||||||
'policyd_spf_pkg': 'pypolicyd-spf',
|
'policyd_spf_pkg': 'pypolicyd-spf',
|
||||||
|
'postsrsd_pkg': 'postsrsd',
|
||||||
'postgrey_pkg': 'postgrey',
|
'postgrey_pkg': 'postgrey',
|
||||||
'service': 'postfix',
|
'service': 'postfix',
|
||||||
'aliases_file': '/etc/aliases',
|
'aliases_file': '/etc/aliases',
|
||||||
@ -25,6 +28,7 @@
|
|||||||
'Arch' : {
|
'Arch' : {
|
||||||
'package': 'postfix',
|
'package': 'postfix',
|
||||||
'policyd_spf_pkg': 'python-postfix-policyd-spf',
|
'policyd_spf_pkg': 'python-postfix-policyd-spf',
|
||||||
|
'postsrsd_pkg': 'postsrsd',
|
||||||
'postgrey_pkg': 'postgrey',
|
'postgrey_pkg': 'postgrey',
|
||||||
'service': 'postfix',
|
'service': 'postfix',
|
||||||
'aliases_file': '/etc/aliases',
|
'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 New Issue
Block a user