summaryrefslogtreecommitdiffstats
path: root/pillar/postfix.sls
diff options
context:
space:
mode:
Diffstat (limited to 'pillar/postfix.sls')
-rw-r--r--pillar/postfix.sls26
1 files changed, 26 insertions, 0 deletions
diff --git a/pillar/postfix.sls b/pillar/postfix.sls
new file mode 100644
index 0000000..15c3d07
--- /dev/null
+++ b/pillar/postfix.sls
@@ -0,0 +1,26 @@
+postfix:
+ master_config:
+ services:
+ smtp:
+ enable: False
+ config:
+ # to-do: set via site config
+ relayhost: zz0.email
+ myhostname: {{ grains['fqdn'] }}
+ inet_interfaces: loopback-only
+ # to-do: support relay via IPv6
+ inet_protocols: ipv4
+ alias_maps: lmdb:/etc/aliases
+ smtpd_use_tls: 'no'
+ smtp_use_tls: 'yes'
+ smtp_tls_security_level: encrypt
+ smtp_tls_wrappermode: 'yes'
+
+ aliases:
+ use_file: false
+ present:
+ admins: 'georg, pratyush'
+ georg: georg@lysergic.dev
+ pratyush: pratyush@lysergic.dev
+ root: 'system, \root'
+ system: system@lysergic.dev