From 73510e2e86285fcfcd38334938baefaeb8a91713 Mon Sep 17 00:00:00 2001
From: Hinrikus Wolf <mail@hinrikus-wolf.de>
Date: Mon, 19 Feb 2018 16:34:30 +0100
Subject: [PATCH] postfix: fix syntax errors in postscreen config

---
 postfix/templates/postscreen_cache.j2 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/postfix/templates/postscreen_cache.j2 b/postfix/templates/postscreen_cache.j2
index 0a886f8..9b861ab 100644
--- a/postfix/templates/postscreen_cache.j2
+++ b/postfix/templates/postscreen_cache.j2
@@ -3,9 +3,9 @@
 #
 
 {% for partner in groups['mail'] %}
-  {% if partner != ansible_hostname %}
-memcache = inet::{{hostvars[partner]["tinc_vpnip"]}}11211
-  {% endif %}
+{% if partner != ansible_hostname %}
+memcache = inet:{{hostvars[partner]["tinc_vpnip"]}}:11211
+{% endif %}
 {% endfor %}
 
 backup = proxy:btree:/var/lib/postfix/postscreen_cache
-- 
GitLab