updated opendkim state
This commit is contained in:
parent
ebf74d4df6
commit
d067176aab
@ -10,7 +10,7 @@ opendkim-config-dir:
|
|||||||
opendkim-configuration-key:
|
opendkim-configuration-key:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: {{ opendkim.config.dir }}/{{ opendkim.config.key.name }}
|
- name: {{ opendkim.config.dir }}/{{ opendkim.config.key.name }}
|
||||||
- source: salt://opendkim/key.j2
|
- source: salt://opendkim/templates/key.j2
|
||||||
- user: {{ opendkim.config.user }}
|
- user: {{ opendkim.config.user }}
|
||||||
- group: {{ opendkim.config.group }}
|
- group: {{ opendkim.config.group }}
|
||||||
- mode: 600
|
- mode: 600
|
||||||
@ -21,7 +21,7 @@ opendkim-configuration-key:
|
|||||||
opendkim-trusted-hosts:
|
opendkim-trusted-hosts:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: {{ opendkim.config.dir }}/TrustedHosts
|
- name: {{ opendkim.config.dir }}/TrustedHosts
|
||||||
- source: salt://opendkim/TrustedHosts.j2
|
- source: salt://opendkim/templates/TrustedHosts.j2
|
||||||
- user: {{ opendkim.config.user }}
|
- user: {{ opendkim.config.user }}
|
||||||
- group: {{ opendkim.config.group }}
|
- group: {{ opendkim.config.group }}
|
||||||
- mode: 644
|
- mode: 644
|
||||||
@ -32,7 +32,7 @@ opendkim-trusted-hosts:
|
|||||||
opendkim-service-defaults:
|
opendkim-service-defaults:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: {{ opendkim.config.default_file }}
|
- name: {{ opendkim.config.default_file }}
|
||||||
- source: salt://opendkim/service_defaults.j2
|
- source: salt://opendkim/templates/service_defaults.j2
|
||||||
- user: {{ opendkim.config.user }}
|
- user: {{ opendkim.config.user }}
|
||||||
- group: {{ opendkim.config.group }}
|
- group: {{ opendkim.config.group }}
|
||||||
- mode: 644
|
- mode: 644
|
||||||
@ -43,7 +43,7 @@ opendkim-service-defaults:
|
|||||||
opendkim-config-file:
|
opendkim-config-file:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: {{ opendkim.config.file }}
|
- name: {{ opendkim.config.file }}
|
||||||
- source: salt://opendkim/opendkim.conf.j2
|
- source: salt://opendkim/templates/opendkim.conf.j2
|
||||||
- user: {{ opendkim.config.user }}
|
- user: {{ opendkim.config.user }}
|
||||||
- group: {{ opendkim.config.group }}
|
- group: {{ opendkim.config.group }}
|
||||||
- mode: 644
|
- mode: 644
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
---
|
---
|
||||||
opendkim:
|
opendkim:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
pkgs:
|
||||||
|
- opendkim
|
||||||
|
- opendkim-tools
|
||||||
config:
|
config:
|
||||||
dir: '/etc/opendkim'
|
dir: '/etc/opendkim'
|
||||||
file: '/etc/opendkim.conf'
|
file: '/etc/opendkim.conf'
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
---
|
---
|
||||||
{%- from "opendkim/map.jinja" import opendkim with context %}
|
|
||||||
include:
|
include:
|
||||||
- .install
|
- .install
|
||||||
- .config
|
- .config
|
||||||
|
@ -2,6 +2,4 @@
|
|||||||
{%- from "opendkim/map.jinja" import opendkim with context %}
|
{%- from "opendkim/map.jinja" import opendkim with context %}
|
||||||
opendkim-pkg:
|
opendkim-pkg:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- pkgs:
|
- pkgs: {{ opendkim.pkgs }}
|
||||||
- opendkim
|
|
||||||
- opendkim-tools
|
|
||||||
|
@ -6,4 +6,4 @@
|
|||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- for hostname in salt['pillar.get']('mail:hostnames') %}
|
{%- for hostname in salt['pillar.get']('mail:hostnames') %}
|
||||||
{{ hostname }}
|
{{ hostname }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
@ -1,2 +1,2 @@
|
|||||||
{%- from "opendkim/map.jinja" import opendkim with context -%}
|
{%- from "opendkim/map.jinja" import opendkim with context -%}
|
||||||
{{ opendkim.config.key.content }}
|
{{ opendkim.config.key.content }}
|
@ -20,4 +20,4 @@ PidFile {{ opendkim.config.pid_file }}
|
|||||||
Socket inet:{{ opendkim.config.port }}@{{ opendkim.config.host }}
|
Socket inet:{{ opendkim.config.port }}@{{ opendkim.config.host }}
|
||||||
|
|
||||||
ReportAddress {{ opendkim.config.notify_addr }}
|
ReportAddress {{ opendkim.config.notify_addr }}
|
||||||
SendReports {{ opendkim.config.notify_report }}
|
SendReports {{ opendkim.config.notify_report }}
|
@ -1,2 +1,2 @@
|
|||||||
{%- from "opendkim/map.jinja" import opendkim with context %}
|
{%- from "opendkim/map.jinja" import opendkim with context %}
|
||||||
SOCKET="inet:{{ opendkim.config.port }}@{{ opendkim.config.host }}"
|
SOCKET="inet:{{ opendkim.config.port }}@{{ opendkim.config.host }}"
|
Loading…
Reference in New Issue
Block a user