summaryrefslogtreecommitdiffstats
path: root/pillar/role/mta/postfix.sls
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2023-01-25 21:29:16 +0100
committerGeorg Pfuetzenreuter2023-01-25 21:29:16 +0100
commit9fd56e7640b511871141e6a97cabaca9f9c182f2 (patch)
tree6c4a61ca9529838947f4edeba86ee33566ee95e7 /pillar/role/mta/postfix.sls
parent7305d708229241791102e044ad145405f5e71423 (diff)
downloadsalt-9fd56e7640b511871141e6a97cabaca9f9c182f2.tar.gz
salt-9fd56e7640b511871141e6a97cabaca9f9c182f2.tar.bz2
salt-9fd56e7640b511871141e6a97cabaca9f9c182f2.zip
Allow local system mail in Postfix
- correct mydestination to allow lysergic.dev to be sent through the relay - correct relayhost to use SMTPS port Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'pillar/role/mta/postfix.sls')
-rw-r--r--pillar/role/mta/postfix.sls3
1 files changed, 2 insertions, 1 deletions
diff --git a/pillar/role/mta/postfix.sls b/pillar/role/mta/postfix.sls
index 15c3d07..51e7afc 100644
--- a/pillar/role/mta/postfix.sls
+++ b/pillar/role/mta/postfix.sls
@@ -5,7 +5,8 @@ postfix:
enable: False
config:
# to-do: set via site config
- relayhost: zz0.email
+ relayhost: zz0.email:465
+ mydestination: '$myhostname, localhost'
myhostname: {{ grains['fqdn'] }}
inet_interfaces: loopback-only
# to-do: support relay via IPv6