From 6120cf0c20a6face64f7feca100f185bab58a4d8 Mon Sep 17 00:00:00 2001
From: John Denker <jsd@av8n.com>
Date: Sat, 2 Jun 2012 19:13:44 -0700
Subject: greatly improved "make install" including permissions for
 checkpassword

---
 tools/makefile | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'tools/makefile')

diff --git a/tools/makefile b/tools/makefile
index db0cde2..f64b9c2 100644
--- a/tools/makefile
+++ b/tools/makefile
@@ -15,6 +15,14 @@ all: pido hi-q
 install:
 	install pido hi-q /var/qmail/bin/
 	cp filters.conf   /var/qmail/control/
+	install -m700 -d /var/qmail/rbin
+	chown qmaild /var/qmail/rbin
+	chgrp qmail /var/qmail/rbin
+	install -m755 ../checkpasswd/checkpassword /var/qmail/rbin/
+	chown root /var/qmail/rbin/checkpassword
+	chmod u+s  /var/qmail/rbin/checkpassword
+	cp smtp.conf /etc/stunnel/
+	cp pop3.conf /etc/stunnel/
 
 /etc/tcpserver/smtp.rules :
 	install -d /etc/tcpserver
-- 
cgit v1.2.3