diff options
author | Georg Pfuetzenreuter | 2023-01-25 21:29:16 +0100 |
---|---|---|
committer | Georg Pfuetzenreuter | 2023-01-25 21:29:16 +0100 |
commit | 9fd56e7640b511871141e6a97cabaca9f9c182f2 (patch) | |
tree | 6c4a61ca9529838947f4edeba86ee33566ee95e7 /pillar/role | |
parent | 7305d708229241791102e044ad145405f5e71423 (diff) | |
download | salt-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')
-rw-r--r-- | pillar/role/mta/postfix.sls | 3 |
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 |