Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3769335
config.sls
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
config.sls
View Options
# -------------------------------------------------------------
# Salt — OpenDKIM configuration
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2017-01-14
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{%
from
"map.jinja"
import
dirs
with context
%}
# -------------------------------------------------------------
# OpenDKIM main configuration
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{{
dirs.etc
}}
/opendkim/opendkim.conf
:
file.managed
:
-
source
:
salt://roles/mailserver/dkim/files/opendkim.conf
-
template
:
jinja
-
context
:
dirs
:
{{
dirs
}}
socket
:
/var/run/opendkim/opendkim.sock
user
:
opendkim
group
:
mail
# -------------------------------------------------------------
# OpenDKIM configuration tables
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
opendkim_config_files
:
file.recurse
:
-
name
:
{{
dirs.etc
}}
/opendkim
-
source
:
salt://roles/mailserver/dkim/files/etc
-
include_empty
:
True
-
clean
:
False
-
dir_mode
:
711
-
file_mode
:
644
opendkim_keys_directory
:
file.directory
:
-
name
:
{{
dirs.etc
}}
/opendkim/keys
-
dir_mode
:
711
-
user
:
opendkim
-
group
:
opendkim
# -------------------------------------------------------------
# Clean up
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{%
set
opendkim_package_leftovers
=
[
"/usr/local/etc/mail/opendkim.conf"
,
"/usr/local/etc/mail/opendkim.conf.sample"
,
"/usr/local/etc/mail"
,
]
%}
{%
for
path
in
opendkim_package_leftovers
%}
{{
path
}}
:
file.absent
{%
endfor
%}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 14:12 (1 d, 7 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260330
Default Alt Text
config.sls (1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment