7e01892a92
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1183 6952d904-891a-0410-993b-d76249ca496b
34 lines
1.0 KiB
Bash
34 lines
1.0 KiB
Bash
#!/bin/bash
|
|
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-imap-4.0.6-r1-gentoo-imapd.rc,v 1.2 2007/04/07 01:08:00 chtekk Exp $
|
|
#
|
|
# Copyright 1998 - 2000 Double Precision, Inc.
|
|
# See COPYING for distribution information.
|
|
|
|
prefix=/usr
|
|
exec_prefix=/usr
|
|
bindir=/usr/sbin
|
|
libexecdir=/usr/GENTOO_LIBDIR/courier-imap
|
|
|
|
source /etc/courier-imap/imapd-ssl
|
|
source /etc/courier-imap/imapd
|
|
|
|
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} ${libexecdir}/couriertcpd \
|
|
-address=${ADDRESS} \
|
|
-stderrlogger=${libexecdir}/courierlogger \
|
|
-stderrloggername=imapd \
|
|
-maxprocs=${MAXDAEMONS} -maxperip=${MAXPERIP} \
|
|
-pid=${PIDFILE} ${TCPDOPTS} ${PORT} \
|
|
${bindir}/imaplogin \
|
|
${libexecdir}/courier-imapd.indirect "${MAILDIR}"
|