Skip to content
Snippets Groups Projects
Commit 63e85078 authored by Jan Philipp Timme's avatar Jan Philipp Timme
Browse files

Use pillar data for most important configuration part

parent 6fb1de24
Branches
No related tags found
No related merge requests found
### THIS FILE IS MANAGED BY SALT STATE `postfix.nullclient`
### YOUR CHANGES WILL BE OVERWRITTEN!
{% set pillar = salt['pillar.get']('postfix:nullclient') %}
{% set minion_id = grains['id'] %}
# Set compatibility level
compatibility_level = 2
......@@ -29,12 +30,12 @@ smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
myhostname = {{ minion_id }}
# Forward emails for local users to this address for easy collection
alias_maps = static:web-rootmails@hs-hannover.de
alias_maps = static:{{ pillar['rootmail-destination'] }}
alias_database =
local_recipient_maps = unix:passwd.byname
mydestination = {{ minion_id }}, localhost
relayhost = smtp.hs-hannover.de
relayhost = {{ pillar['relayhost'] }}
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment