From 6120cf0c20a6face64f7feca100f185bab58a4d8 Mon Sep 17 00:00:00 2001 From: John Denker Date: Sat, 2 Jun 2012 19:13:44 -0700 Subject: greatly improved "make install" including permissions for checkpassword --- tools/makefile | 8 ++++++++ tools/pop3.conf | 3 +++ tools/smtp.conf | 3 +++ 3 files changed, 14 insertions(+) create mode 100644 tools/pop3.conf create mode 100644 tools/smtp.conf (limited to 'tools') 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 diff --git a/tools/pop3.conf b/tools/pop3.conf new file mode 100644 index 0000000..a181eff --- /dev/null +++ b/tools/pop3.conf @@ -0,0 +1,3 @@ +# /etc/stunnel/pop3.conf +exec = /var/qmail/bin/qmail-popup +execargs = qmail-popup 0 /bin/qmaild/checkpassword qmail-pop3d Maildir diff --git a/tools/smtp.conf b/tools/smtp.conf new file mode 100644 index 0000000..3ff002e --- /dev/null +++ b/tools/smtp.conf @@ -0,0 +1,3 @@ +# /etc/stunnel/smtp.conf +exec = /var/qmail/bin/qmail-smtpd +execargs = qmail-smtpd 0 /var/qmail/rbin/checkpassword - -- cgit v1.2.3