fix u postinstu
authorZeljko Boros <Zeljko.Boros@carnet.hr>
Fri, 30 Apr 2021 20:16:43 +0000 (22:16 +0200)
committerZeljko Boros <Zeljko.Boros@carnet.hr>
Fri, 30 Apr 2021 20:16:43 +0000 (22:16 +0200)
debian/postinst

index 0749482..ec3ab09 100755 (executable)
@@ -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