paulbsd-salt/states/opendkim/templates/opendkim.conf.j2

24 lines
869 B
Django/Jinja

## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- from "opendkim/map.jinja" import opendkim with context %}
LogWhy {{ opendkim.config.log_why }}
Syslog {{ opendkim.config.syslog }}
SyslogSuccess {{ opendkim.config.syslog_success }}
RequireSafeKeys {{ opendkim.config.require_safe_keys }}
Canonicalization {{ opendkim.config.canonicalization }}
InternalHosts refile:{{ opendkim.config.dir }}/TrustedHosts
Domain paulbsd.com
Selector mx
KeyFile {{ opendkim.config.dir }}/mx
UserID {{ opendkim.config.user }}
PidFile {{ opendkim.config.pid_file }}
Socket inet:{{ opendkim.config.port }}@{{ opendkim.config.host }}
ReportAddress {{ opendkim.config.notify_addr }}
SendReports {{ opendkim.config.notify_report }}