summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2003-07-26 02:05:06 +0000
committerNick Hadaway <raker@gentoo.org>2003-07-26 02:05:06 +0000
commitbc89a7ee7eee5c0388d5202281c503deb0a86703 (patch)
tree50c2da3236d44b5df0b2b55a38b5427860bdcdd7 /net-mail
parentNew ebuid. Thanks to sj7trunks for putting this together. (diff)
downloadgentoo-2-bc89a7ee7eee5c0388d5202281c503deb0a86703.tar.gz
gentoo-2-bc89a7ee7eee5c0388d5202281c503deb0a86703.tar.bz2
gentoo-2-bc89a7ee7eee5c0388d5202281c503deb0a86703.zip
repoman didn't commit these for some reason
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/qmail-ldap/files/control/defaultdelivery1
-rw-r--r--net-mail/qmail-ldap/files/control/defaultdomain1
-rw-r--r--net-mail/qmail-ldap/files/control/defaulthost1
-rw-r--r--net-mail/qmail-ldap/files/control/dirmaker1
-rw-r--r--net-mail/qmail-ldap/files/control/file1
-rw-r--r--net-mail/qmail-ldap/files/control/ldapbasedn1
-rw-r--r--net-mail/qmail-ldap/files/control/ldapgid1
-rw-r--r--net-mail/qmail-ldap/files/control/ldaplocaldelivery1
-rw-r--r--net-mail/qmail-ldap/files/control/ldaplogin1
-rw-r--r--net-mail/qmail-ldap/files/control/ldapmessagestore1
-rw-r--r--net-mail/qmail-ldap/files/control/ldappassword1
-rw-r--r--net-mail/qmail-ldap/files/control/ldapserver1
-rw-r--r--net-mail/qmail-ldap/files/control/ldapuid1
-rw-r--r--net-mail/qmail-ldap/files/control/qmail-pop3d-loglevel1
-rw-r--r--net-mail/qmail-ldap/files/control/qmail-pop3d-softlimit1
-rw-r--r--net-mail/qmail-ldap/files/control/qmail-smtpd-softlimit1
-rw-r--r--net-mail/qmail-ldap/files/control/qmail-start-loglevel1
-rw-r--r--net-mail/qmail-ldap/files/digest-qmail-ldap-1.03-r17
-rw-r--r--net-mail/qmail-ldap/files/dot_qmail1
-rw-r--r--net-mail/qmail-ldap/files/errno.patch.bz2bin0 -> 401 bytes
-rw-r--r--net-mail/qmail-ldap/files/homedir.patch.bz2bin0 -> 527 bytes
-rw-r--r--net-mail/qmail-ldap/files/qmail-control30
-rw-r--r--net-mail/qmail-ldap/files/qmail-linksync.patch.bz2bin0 -> 687 bytes
-rw-r--r--net-mail/qmail-ldap/files/qmail-queue.patch.bz2bin0 -> 722 bytes
-rw-r--r--net-mail/qmail-ldap/files/rc4
-rw-r--r--net-mail/qmail-ldap/files/samples.ldif32
-rw-r--r--net-mail/qmail-ldap/files/supervise/run-qmailpop3d13
-rw-r--r--net-mail/qmail-ldap/files/supervise/run-qmailpop3dlog3
-rw-r--r--net-mail/qmail-ldap/files/supervise/run-qmailsend2
-rw-r--r--net-mail/qmail-ldap/files/supervise/run-qmailsendlog2
-rw-r--r--net-mail/qmail-ldap/files/supervise/run-qmailsmtpd6
-rw-r--r--net-mail/qmail-ldap/files/supervise/run-qmailsmtpdlog2
-rw-r--r--net-mail/qmail-ldap/files/tls.patch.bz2bin0 -> 406 bytes
33 files changed, 119 insertions, 0 deletions
diff --git a/net-mail/qmail-ldap/files/control/defaultdelivery b/net-mail/qmail-ldap/files/control/defaultdelivery
new file mode 100644
index 000000000000..22c2d5b860a1
--- /dev/null
+++ b/net-mail/qmail-ldap/files/control/defaultdelivery
@@ -0,0 +1 @@
+./maildir/
diff --git a/net-mail/qmail-ldap/files/control/defaultdomain b/net-mail/qmail-ldap/files/control/defaultdomain
new file mode 100644
index 000000000000..fb4e1b47f2c9
--- /dev/null
+++ b/net-mail/qmail-ldap/files/control/defaultdomain
@@ -0,0 +1 @@
+yourhost.net
diff --git a/net-mail/qmail-ldap/files/control/defaulthost b/net-mail/qmail-ldap/files/control/defaulthost
new file mode 100644
index 000000000000..fb4e1b47f2c9
--- /dev/null
+++ b/net-mail/qmail-ldap/files/control/defaulthost
@@ -0,0 +1 @@
+yourhost.net
diff --git a/net-mail/qmail-ldap/files/control/dirmaker b/net-mail/qmail-ldap/files/control/dirmaker
new file mode 100644
index 000000000000..f3809bd04dd8
--- /dev/null
+++ b/net-mail/qmail-ldap/files/control/dirmaker
@@ -0,0 +1 @@
+/var/qmail/bin/dirmaker
diff --git a/net-mail/qmail-ldap/files/control/file b/net-mail/qmail-ldap/files/control/file
new file mode 100644
index 000000000000..222061e8ea80
--- /dev/null
+++ b/net-mail/qmail-ldap/files/control/file
@@ -0,0 +1 @@
+127.0.0.1:allow,RELAYCLIENT=,RBLSMTPD=""
diff --git a/net-mail/qmail-ldap/files/control/ldapbasedn b/net-mail/qmail-ldap/files/control/ldapbasedn
new file mode 100644
index 000000000000..f2dbbcd12554
--- /dev/null
+++ b/net-mail/qmail-ldap/files/control/ldapbasedn
@@ -0,0 +1 @@
+dc=yourhost,dc=net
diff --git a/net-mail/qmail-ldap/files/control/ldapgid b/net-mail/qmail-ldap/files/control/ldapgid
new file mode 100644
index 000000000000..281e3d99811c
--- /dev/null
+++ b/net-mail/qmail-ldap/files/control/ldapgid
@@ -0,0 +1 @@
+2110
diff --git a/net-mail/qmail-ldap/files/control/ldaplocaldelivery b/net-mail/qmail-ldap/files/control/ldaplocaldelivery
new file mode 100644
index 000000000000..573541ac9702
--- /dev/null
+++ b/net-mail/qmail-ldap/files/control/ldaplocaldelivery
@@ -0,0 +1 @@
+0
diff --git a/net-mail/qmail-ldap/files/control/ldaplogin b/net-mail/qmail-ldap/files/control/ldaplogin
new file mode 100644
index 000000000000..82539c1bf205
--- /dev/null
+++ b/net-mail/qmail-ldap/files/control/ldaplogin
@@ -0,0 +1 @@
+uid=ldapauth, ou=people, dc=pendulus, dc=net
diff --git a/net-mail/qmail-ldap/files/control/ldapmessagestore b/net-mail/qmail-ldap/files/control/ldapmessagestore
new file mode 100644
index 000000000000..25491ac6a392
--- /dev/null
+++ b/net-mail/qmail-ldap/files/control/ldapmessagestore
@@ -0,0 +1 @@
+/var/qmail/maildirs/
diff --git a/net-mail/qmail-ldap/files/control/ldappassword b/net-mail/qmail-ldap/files/control/ldappassword
new file mode 100644
index 000000000000..3e86aa02bfcd
--- /dev/null
+++ b/net-mail/qmail-ldap/files/control/ldappassword
@@ -0,0 +1 @@
+your_ldapauth_dn_password
diff --git a/net-mail/qmail-ldap/files/control/ldapserver b/net-mail/qmail-ldap/files/control/ldapserver
new file mode 100644
index 000000000000..2fbb50c4a8dc
--- /dev/null
+++ b/net-mail/qmail-ldap/files/control/ldapserver
@@ -0,0 +1 @@
+localhost
diff --git a/net-mail/qmail-ldap/files/control/ldapuid b/net-mail/qmail-ldap/files/control/ldapuid
new file mode 100644
index 000000000000..8a0094da9a0b
--- /dev/null
+++ b/net-mail/qmail-ldap/files/control/ldapuid
@@ -0,0 +1 @@
+11184
diff --git a/net-mail/qmail-ldap/files/control/qmail-pop3d-loglevel b/net-mail/qmail-ldap/files/control/qmail-pop3d-loglevel
new file mode 100644
index 000000000000..00750edc07d6
--- /dev/null
+++ b/net-mail/qmail-ldap/files/control/qmail-pop3d-loglevel
@@ -0,0 +1 @@
+3
diff --git a/net-mail/qmail-ldap/files/control/qmail-pop3d-softlimit b/net-mail/qmail-ldap/files/control/qmail-pop3d-softlimit
new file mode 100644
index 000000000000..98d39c5c25f2
--- /dev/null
+++ b/net-mail/qmail-ldap/files/control/qmail-pop3d-softlimit
@@ -0,0 +1 @@
+20000000
diff --git a/net-mail/qmail-ldap/files/control/qmail-smtpd-softlimit b/net-mail/qmail-ldap/files/control/qmail-smtpd-softlimit
new file mode 100644
index 000000000000..d8a0d1ed4bc1
--- /dev/null
+++ b/net-mail/qmail-ldap/files/control/qmail-smtpd-softlimit
@@ -0,0 +1 @@
+8000000
diff --git a/net-mail/qmail-ldap/files/control/qmail-start-loglevel b/net-mail/qmail-ldap/files/control/qmail-start-loglevel
new file mode 100644
index 000000000000..00750edc07d6
--- /dev/null
+++ b/net-mail/qmail-ldap/files/control/qmail-start-loglevel
@@ -0,0 +1 @@
+3
diff --git a/net-mail/qmail-ldap/files/digest-qmail-ldap-1.03-r1 b/net-mail/qmail-ldap/files/digest-qmail-ldap-1.03-r1
new file mode 100644
index 000000000000..8bd4b2281933
--- /dev/null
+++ b/net-mail/qmail-ldap/files/digest-qmail-ldap-1.03-r1
@@ -0,0 +1,7 @@
+MD5 622f65f982e380dbe86e6574f3abcb7c qmail-1.03.tar.gz 220668
+MD5 39b6f70f65056472ff97ab40c1dba7b4 big-todo.103.patch 5546
+MD5 2ff58c3570870a8ff9a1d9eb9aec05a6 big-concurrency.patch 9331
+MD5 9140ad2b03017145cd7963c84bb24f16 qmail-103.patch 2104
+MD5 3259bdfd80dc89708116c786f8cb9007 smtp-auth-20030301.patch 33998
+MD5 8edda59102180973dd1bb546da7de160 qmail-0.0.0.0.patch 450
+MD5 48d2761e9ae44bb4d2812a19634f1a5b qmail-ldap-1.03-20020901.patch.gz 130655
diff --git a/net-mail/qmail-ldap/files/dot_qmail b/net-mail/qmail-ldap/files/dot_qmail
new file mode 100644
index 000000000000..7c9e5d08f067
--- /dev/null
+++ b/net-mail/qmail-ldap/files/dot_qmail
@@ -0,0 +1 @@
+./.maildir/
diff --git a/net-mail/qmail-ldap/files/errno.patch.bz2 b/net-mail/qmail-ldap/files/errno.patch.bz2
new file mode 100644
index 000000000000..5b21c6060d85
--- /dev/null
+++ b/net-mail/qmail-ldap/files/errno.patch.bz2
Binary files differ
diff --git a/net-mail/qmail-ldap/files/homedir.patch.bz2 b/net-mail/qmail-ldap/files/homedir.patch.bz2
new file mode 100644
index 000000000000..a3bc67e6fd92
--- /dev/null
+++ b/net-mail/qmail-ldap/files/homedir.patch.bz2
Binary files differ
diff --git a/net-mail/qmail-ldap/files/qmail-control b/net-mail/qmail-ldap/files/qmail-control
new file mode 100644
index 000000000000..e9c56c2d66e5
--- /dev/null
+++ b/net-mail/qmail-ldap/files/qmail-control
@@ -0,0 +1,30 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-mail/qmail-ldap/files/qmail-control,v 1.1 2003/07/26 02:05:06 raker Exp $
+
+opts="start stop restart reload"
+
+start() {
+ ebegin "Starting qmail mta ..."
+ svc -u /var/qmail/supervise/*
+ eend $?
+ ebegin "Starting qmail mta logging ..."
+ svc -u /var/qmail/supervise/*/log
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping qmail mta ..."
+ svc -d /var/qmail/supervise/*
+ eend $?
+ ebegin "Stopping qmail mta logging ..."
+ svc -d /var/qmail/supervise/*/log
+ eend $?
+}
+
+reload() {
+ ebegin "Reloading 'locals' and 'virtualdomains' control files."
+ svc -h /var/qmail/supervise/qmail-send
+ eend $?
+}
diff --git a/net-mail/qmail-ldap/files/qmail-linksync.patch.bz2 b/net-mail/qmail-ldap/files/qmail-linksync.patch.bz2
new file mode 100644
index 000000000000..e758ba32fced
--- /dev/null
+++ b/net-mail/qmail-ldap/files/qmail-linksync.patch.bz2
Binary files differ
diff --git a/net-mail/qmail-ldap/files/qmail-queue.patch.bz2 b/net-mail/qmail-ldap/files/qmail-queue.patch.bz2
new file mode 100644
index 000000000000..9f839f8209bf
--- /dev/null
+++ b/net-mail/qmail-ldap/files/qmail-queue.patch.bz2
Binary files differ
diff --git a/net-mail/qmail-ldap/files/rc b/net-mail/qmail-ldap/files/rc
new file mode 100644
index 000000000000..a7bbdc986766
--- /dev/null
+++ b/net-mail/qmail-ldap/files/rc
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec env - PATH="/var/qmail/bin:$PATH" \
+ qmail-start "`cat /var/qmail/control/defaultdelivery`"
diff --git a/net-mail/qmail-ldap/files/samples.ldif b/net-mail/qmail-ldap/files/samples.ldif
new file mode 100644
index 000000000000..c1a77c4d97ca
--- /dev/null
+++ b/net-mail/qmail-ldap/files/samples.ldif
@@ -0,0 +1,32 @@
+#ldapauth, better to use this than your rootdn for security reasons
+dn: uid=ldapauth,ou=People,dc=yhourhost,dc=net
+uid: ldapauth
+cn: ldapuath
+objectClass: account
+objectClass: posixAccount
+objectClass: top
+objectClass: shadowAccount
+shadowLastChange: 12116
+loginShell: /bin/true
+uidNumber: 11184
+gidNumber: 2110
+homeDirectory: /var/qmail/maildirs/
+gecos: ldap authorization,,,
+userPassword: libcrypt_format
+
+#sample user dn
+dn: uid=denverj ,ou=people,dc=yourhost,dc=net
+objectClass: top
+objectClass: inetOrgPerson
+objectClass: qmailUser
+objectClass: person
+cn: John Denver
+givenName: denverj
+sn: denverj
+uid: denverj
+mail: denverj@yourhost.net
+mailMessageStore: /var/qmail/maildirs/denverj/Maildir/
+nohomeDirectory: /var/qmail/maildirs/denverj/
+mailAlternateAddress: denverj@alias.host.net
+userPassword: libcrypt_format
+
diff --git a/net-mail/qmail-ldap/files/supervise/run-qmailpop3d b/net-mail/qmail-ldap/files/supervise/run-qmailpop3d
new file mode 100644
index 000000000000..63adeef5a6c0
--- /dev/null
+++ b/net-mail/qmail-ldap/files/supervise/run-qmailpop3d
@@ -0,0 +1,13 @@
+#!/bin/sh
+LL=`head -1 /var/qmail/control/qmail-pop3d-loglevel`
+SL=`head -1 /var/qmail/control/qmail-pop3d-softlimit`
+HOSTNAME=`head -1 /var/qmail/control/me`
+exec \
+ env MAILDIR=Maildir \
+ env LOGLEVEL=$LL \
+ /usr/bin/softlimit -m $SL \
+ /usr/bin/softlimit -m 20000000 \
+ /usr/bin/tcpserver -H -R -c100 0 110 \
+ /var/qmail/bin/qmail-popup \
+ $HOSTNAME /var/qmail/bin/auth_pop \
+ /var/qmail/bin/qmail-pop3d $MAILDIR 2>&1
diff --git a/net-mail/qmail-ldap/files/supervise/run-qmailpop3dlog b/net-mail/qmail-ldap/files/supervise/run-qmailpop3dlog
new file mode 100644
index 000000000000..9c279a32d55f
--- /dev/null
+++ b/net-mail/qmail-ldap/files/supervise/run-qmailpop3dlog
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec /usr/bin/setuidgid qmaill /usr/bin/multilog t s10000000 \
+/var/log/qmail/qmail-pop3d
diff --git a/net-mail/qmail-ldap/files/supervise/run-qmailsend b/net-mail/qmail-ldap/files/supervise/run-qmailsend
new file mode 100644
index 000000000000..8dbd3adf524f
--- /dev/null
+++ b/net-mail/qmail-ldap/files/supervise/run-qmailsend
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /var/qmail/rc
diff --git a/net-mail/qmail-ldap/files/supervise/run-qmailsendlog b/net-mail/qmail-ldap/files/supervise/run-qmailsendlog
new file mode 100644
index 000000000000..5ff50d1e7711
--- /dev/null
+++ b/net-mail/qmail-ldap/files/supervise/run-qmailsendlog
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/setuidgid qmaill /usr/bin/multilog t s2500000 /var/log/qmail/qmail-send
diff --git a/net-mail/qmail-ldap/files/supervise/run-qmailsmtpd b/net-mail/qmail-ldap/files/supervise/run-qmailsmtpd
new file mode 100644
index 000000000000..b9ddd77050ec
--- /dev/null
+++ b/net-mail/qmail-ldap/files/supervise/run-qmailsmtpd
@@ -0,0 +1,6 @@
+#!/bin/sh
+QMAILDUID=`id -u qmaild`
+NOFILESGID=`id -g qmaild`
+exec /usr/bin/softlimit -m 8000000 \
+ /usr/bin/tcpserver -H -R -v -p -x /etc/tcp.smtp.cdb \
+ -u $QMAILDUID -g $NOFILESGID 0 smtp rblsmtpd /var/qmail/bin/qmail-smtpd /var/qmail/bin/auth_smtp /usr/bin/true 2>&1
diff --git a/net-mail/qmail-ldap/files/supervise/run-qmailsmtpdlog b/net-mail/qmail-ldap/files/supervise/run-qmailsmtpdlog
new file mode 100644
index 000000000000..2d9546146583
--- /dev/null
+++ b/net-mail/qmail-ldap/files/supervise/run-qmailsmtpdlog
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/setuidgid qmaill /usr/bin/multilog t s2500000 /var/log/qmail/qmail-smtpd
diff --git a/net-mail/qmail-ldap/files/tls.patch.bz2 b/net-mail/qmail-ldap/files/tls.patch.bz2
new file mode 100644
index 000000000000..7534c54789d9
--- /dev/null
+++ b/net-mail/qmail-ldap/files/tls.patch.bz2
Binary files differ