From 9fd56e7640b511871141e6a97cabaca9f9c182f2 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Wed, 25 Jan 2023 21:29:16 +0100 Subject: 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 --- pillar/role/mta/postfix.sls | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pillar/role/mta/postfix.sls') 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 -- cgit v1.2.3