summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/makefile8
-rw-r--r--tools/pop3.conf3
-rw-r--r--tools/smtp.conf3
3 files changed, 14 insertions, 0 deletions
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 -