linamh/net-mail/courier-imap/files/courier-imap-4.0.6-r1-gentoo-pop3d-ssl.rc
geos_one 7e01892a92 add imap
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1183 6952d904-891a-0410-993b-d76249ca496b
2009-05-01 13:03:18 +00:00

31 lines
957 B
Bash

#!/bin/bash
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/files/courier-imap-4.0.6-r1-gentoo-pop3d-ssl.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/pop3d
source /etc/courier-imap/pop3d-ssl
export POP3_TLS=1
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} ${libexecdir}/couriertcpd \
-address=${SSLADDRESS} \
-stderrlogger=${libexecdir}/courierlogger \
-stderrloggername=pop3d-ssl \
-maxprocs=${MAXDAEMONS} -maxperip=${MAXPERIP} \
-pid=${SSLPIDFILE} ${TCPDOPTS} ${SSLPORT} \
${COURIERTLS} -server -tcpd \
${bindir}/pop3login \
${libexecdir}/courier-pop3d.indirect "${MAILDIR}"