summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/courier-imap/files/courier-imap-4.0.0_rc1-gentoo-pop3d.rc')
-rw-r--r--net-mail/courier-imap/files/courier-imap-4.0.0_rc1-gentoo-pop3d.rc36
1 files changed, 36 insertions, 0 deletions
diff --git a/net-mail/courier-imap/files/courier-imap-4.0.0_rc1-gentoo-pop3d.rc b/net-mail/courier-imap/files/courier-imap-4.0.0_rc1-gentoo-pop3d.rc
new file mode 100644
index 000000000000..ddacbebbef17
--- /dev/null
+++ b/net-mail/courier-imap/files/courier-imap-4.0.0_rc1-gentoo-pop3d.rc
@@ -0,0 +1,36 @@
+#!/bin/bash
+# $Id: courier-imap-4.0.0_rc1-gentoo-pop3d.rc,v 1.1 2004/12/11 07:10:46 langthang Exp $
+#
+# Copyright 1998 - 2000 Double Precision, Inc.
+# See COPYING for distribution information.
+
+prefix=/usr
+exec_prefix=/usr
+bindir=/usr/sbin
+libexecdir=/usr/lib/courier-imap
+
+source /etc/courier-imap/pop3d-ssl
+source /etc/courier-imap/pop3d
+
+# The new courier-authlib doesn't use these settings.
+#LIBAUTHMODULES=""
+#for f in `echo $AUTHMODULES`
+#do
+# LIBAUTHMODULES="$LIBAUTHMODULES /usr/lib/courier-imap/authlib/$f"
+#done
+
+export POP3DSTARTTLS=$POP3_STARTTLS
+TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL
+eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d | \
+ sed 's/=.*//;s/^/export /;s/$/;/'`
+eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d-ssl | \
+ sed 's/=.*//;s/^/export /;s/$/;/'`
+
+eval $PRERUN \
+/usr/lib/courier-imap/couriertcpd -address=$ADDRESS \
+ -stderrlogger=/usr/lib/courier-imap/courierlogger \
+ -stderrloggername=pop3d \
+ -maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
+ -pid=$PIDFILE $TCPDOPTS \
+ $PORT ${exec_prefix}/sbin/pop3login \
+ /usr/sbin/courier-pop3d ${MAILDIR}