diff options
author | Tuan Van <langthang@gentoo.org> | 2005-01-05 15:46:55 +0000 |
---|---|---|
committer | Tuan Van <langthang@gentoo.org> | 2005-01-05 15:46:55 +0000 |
commit | 5d88779ef6278659f3412c8616b8eab43f20efeb (patch) | |
tree | 017c661bde49aca48ec3349a9be66193fe2dd1d8 /net-mail/courier-imap/files/courier-imap-4.0.1-gentoo-imapd.rc | |
parent | again cflag fixes *sigh* (Manifest recommit) (diff) | |
download | gentoo-2-5d88779ef6278659f3412c8616b8eab43f20efeb.tar.gz gentoo-2-5d88779ef6278659f3412c8616b8eab43f20efeb.tar.bz2 gentoo-2-5d88779ef6278659f3412c8616b8eab43f20efeb.zip |
errata release
Diffstat (limited to 'net-mail/courier-imap/files/courier-imap-4.0.1-gentoo-imapd.rc')
-rw-r--r-- | net-mail/courier-imap/files/courier-imap-4.0.1-gentoo-imapd.rc | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/net-mail/courier-imap/files/courier-imap-4.0.1-gentoo-imapd.rc b/net-mail/courier-imap/files/courier-imap-4.0.1-gentoo-imapd.rc new file mode 100644 index 000000000000..66f473b4e456 --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-4.0.1-gentoo-imapd.rc @@ -0,0 +1,38 @@ +#!/bin/bash +# $Id: courier-imap-4.0.1-gentoo-imapd.rc,v 1.1 2005/01/05 15:46:55 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/imapd-ssl +source /etc/courier-imap/imapd + +# 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 + +ulimit -d $IMAP_ULIMITD +IMAP_STARTTLS="$IMAPDSTARTTLS" +export IMAPDSTARTTLS IMAP_STARTTLS +TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL +eval `sed -n '/^#/d;/=/p' </etc/courier-imap/imapd | \ + sed 's/=.*//;s/^/export /;s/$/;/'` +eval `sed -n '/^#/d;/=/p' </etc/courier-imap/imapd-ssl | \ + sed 's/=.*//;s/^/export /;s/$/;/'` + +eval $PRERUN \ +/usr/lib/courier-imap/couriertcpd -address=$ADDRESS \ + -stderrlogger=/usr/lib/courier-imap/courierlogger \ + -stderrloggername=imapd \ + -maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \ + -pid=$PIDFILE $TCPDOPTS \ + $PORT ${exec_prefix}/sbin/imaplogin \ + /usr/sbin/courier-imapd ${MAILDIR} |