diff options
Diffstat (limited to 'net-mail/courier-imap/files/gentoo-pop3d-1.6.1.rc')
-rw-r--r-- | net-mail/courier-imap/files/gentoo-pop3d-1.6.1.rc | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/net-mail/courier-imap/files/gentoo-pop3d-1.6.1.rc b/net-mail/courier-imap/files/gentoo-pop3d-1.6.1.rc new file mode 100644 index 000000000000..63fff3bb0cc4 --- /dev/null +++ b/net-mail/courier-imap/files/gentoo-pop3d-1.6.1.rc @@ -0,0 +1,34 @@ +#!/bin/sh +# $Id: gentoo-pop3d-1.6.1.rc,v 1.1 2002/12/25 11:27:25 raker 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 + +LIBAUTHMODULES="" +for f in `echo $AUTHMODULES` +do + LIBAUTHMODULES="$LIBAUTHMODULES /usr/lib/courier-imap/authlib/$f" +done + +export POP3_STARTTLS=$POP3DSTARTTLS +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/$/;/'` + +/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 $LIBAUTHMODULES \ + /usr/sbin/courier-pop3d ${MAILDIR} |