summaryrefslogtreecommitdiffstats
path: root/debian/patches/run-configure-instance-from-postfix-script.patch
blob: dec96370fc7240cfa0b67d36ea2754d175c109d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Subject: run debian-specific configure-instance script from postfix-script
From: Michael Tokarev <mjt@tls.msk.ru
Date: Tue, 10 Dec 2024 11:25:40 +0300
Forwarded: not-needed
Debian-Specific: yes

Run debian-provided (mostly chroot setup) script when starting
a postfix instance.

diff --git a/conf/postfix-script b/conf/postfix-script
index c43d764f..0e68d833 100755
--- a/conf/postfix-script
+++ b/conf/postfix-script
@@ -138,2 +138,6 @@ start|start-fg)
 	else
+		/usr/lib/postfix/configure-instance.sh || { # debian-specific
+			$FATAL Postfix instance configuration script failed!
+			exit 1
+		}
 		$daemon_directory/postfix-script check-fatal || {