Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
postfix-nullclient-formula
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
salt
postfix-nullclient-formula
Commits
63e85078
Commit
63e85078
authored
5 years ago
by
Jan Philipp Timme
Browse files
Options
Downloads
Patches
Plain Diff
Use pillar data for most important configuration part
parent
6fb1de24
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
postfix/nullclient/etc/postfix/main.cf
+3
-2
3 additions, 2 deletions
postfix/nullclient/etc/postfix/main.cf
with
3 additions
and
2 deletions
postfix/nullclient/etc/postfix/main.cf
+
3
−
2
View file @
63e85078
### THIS FILE IS MANAGED BY SALT STATE `postfix.nullclient`
### THIS FILE IS MANAGED BY SALT STATE `postfix.nullclient`
### YOUR CHANGES WILL BE OVERWRITTEN!
### YOUR CHANGES WILL BE OVERWRITTEN!
{% set pillar = salt['pillar.get']('postfix:nullclient') %}
{% set minion_id = grains['id'] %}
{% set minion_id = grains['id'] %}
# Set compatibility level
# Set compatibility level
compatibility_level = 2
compatibility_level = 2
...
@@ -29,12 +30,12 @@ smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
...
@@ -29,12 +30,12 @@ smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
myhostname = {{ minion_id }}
myhostname = {{ minion_id }}
# Forward emails for local users to this address for easy collection
# 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 =
alias_database =
local_recipient_maps = unix:passwd.byname
local_recipient_maps = unix:passwd.byname
mydestination = {{ minion_id }}, localhost
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
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_command = procmail -a "$EXTENSION"
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mailbox_size_limit = 0
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment