From 2f9a0115bff69555347108f998a01caa336d8742 Mon Sep 17 00:00:00 2001
From: root <root@salt.it.hs-hannover.de>
Date: Fri, 15 Jan 2021 09:45:41 +0100
Subject: [PATCH] Fix issue that causes postfix to not start on systems other
 than Debian 10

---
 postfix/nullclient/etc/postfix/master.cf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/postfix/nullclient/etc/postfix/master.cf b/postfix/nullclient/etc/postfix/master.cf
index 4d15085..4d103d6 100644
--- a/postfix/nullclient/etc/postfix/master.cf
+++ b/postfix/nullclient/etc/postfix/master.cf
@@ -73,7 +73,10 @@ virtual   unix  -       n       n       -       -       virtual
 lmtp      unix  -       -       y       -       -       lmtp
 anvil     unix  -       -       y       -       1       anvil
 scache    unix  -       -       y       -       1       scache
+{# This is not supported by older postfix versions #}
+{% if grains['oscodename'] == 'buster' %}
 postlog   unix-dgram n  -       n       -       1       postlogd
+{% endif %}
 #
 # ====================================================================
 # Interfaces to non-Postfix software. Be sure to examine the manual
-- 
GitLab