From 327944d1d8a5af275b1a6c75089d3ea106743a35 Mon Sep 17 00:00:00 2001
From: Zeljko Boros <Zeljko.Boros@carnet.hr>
Date: Fri, 30 Apr 2021 22:16:43 +0200
Subject: [PATCH] fix u postinstu

---
 debian/postinst |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/debian/postinst b/debian/postinst
index 0749482..ec3ab09 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -218,10 +218,10 @@ smtpd_recipient_restrictions="reject_invalid_hostname, \
 			      permit_sasl_authenticated, \
 			      permit_mynetworks, \
 			      reject_unauth_destination, \
-                              check_client_access hash:/etc/postfix/client_access.cn, \
-                              check_helo_access hash:/etc/postfix/helo_access.cn, \
-                              check_sender_access hash:/etc/postfix/sender_access.cn, \
-                              check_recipient_access hash:/etc/postfix/recipient_access.cn"
+                              check_client_access hash:/etc/postfix/cn-client-access, \
+                              check_helo_access hash:/etc/postfix/cn-helo-access, \
+                              check_sender_access hash:/etc/postfix/cn-sender-access, \
+                              check_recipient_access hash:/etc/postfix/cn-recipient-access"
 
 # dodaj samo rbl-ove iz debconfa
 if [ "$rbl" ]; then
@@ -236,10 +236,10 @@ postconf -e smtpd_recipient_restrictions="$smtpd_recipient_restrictions"
 
 # Header & body checks
 
-postconf -e header_checks="pcre:/etc/postfix/header_checks.cn"
-postconf -e mime_header_checks="pcre:/etc/postfix/mime_header_checks.cn"
-postconf -e nested_header_checks="pcre:/etc/postfix/nested_header_checks.cn"
-postconf -e body_checks="pcre:/etc/postfix/body_checks.cn"
+postconf -e header_checks="pcre:/etc/postfix/cn-header-checks"
+postconf -e mime_header_checks="pcre:/etc/postfix/cn-mime-header-checks"
+postconf -e nested_header_checks="pcre:/etc/postfix/cn-nested-header-checks"
+postconf -e body_checks="pcre:/etc/postfix/cn-body-checks"
 
 
 # SASL stuff
-- 
1.7.10.4