diff options
author | John Denker <jsd@av8n.com> | 2012-06-02 19:13:44 -0700 |
---|---|---|
committer | John Denker <jsd@av8n.com> | 2012-06-02 19:13:44 -0700 |
commit | 6120cf0c20a6face64f7feca100f185bab58a4d8 (patch) | |
tree | 31b57ae6e999f455461bd4a1b57ebe073ce70236 | |
parent | 88771b9a2f6013d87fdf49ad5101c46491b33db7 (diff) |
greatly improved "make install" including permissions for checkpassword
-rw-r--r-- | tools/makefile | 8 | ||||
-rw-r--r-- | tools/pop3.conf | 3 | ||||
-rw-r--r-- | tools/smtp.conf | 3 |
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 - |