From 771fc295432488fabc17e51c8ca6b8f93e7610b4 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Oct 22 2022 18:25:32 +0000 Subject: Merge branch 'hellcp/discourse-mail-delivery' into 'production' Use inet_interfaces: all to deliver mail to discourse See merge request infra/salt!583 --- diff --git a/pillar/role/discourse.sls b/pillar/role/discourse.sls index bbc5118..20383f7 100644 --- a/pillar/role/discourse.sls +++ b/pillar/role/discourse.sls @@ -7,13 +7,14 @@ include: profile: postfix: maincf: + inet_interfaces: all smtputf8_enable: 'no' compatibility_level: 2 export_environment: 'TZ LANG' append_dot_mydomain: 'no' mydestination: localhost mynetworks: '127.0.0.0/8 [::1]/128 [fe80::]/64' - transport_maps: hash:/etc/postfix/transport + transport_maps: lmdb:/etc/postfix/transport smtpd_recipient_restrictions: permit_mynetworks, check_policy_service unix:private/policy mastercf: discourse: unix - n n - - pipe user=nobody:nogroup argv=/usr/bin/receive-mail ${recipient}