diff options
Diffstat (limited to 'net-mail/courier-imap/files/courier-imap-4.0.6-r1-gentoo-imapd-ssl.rc')
-rw-r--r-- | net-mail/courier-imap/files/courier-imap-4.0.6-r1-gentoo-imapd-ssl.rc | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/net-mail/courier-imap/files/courier-imap-4.0.6-r1-gentoo-imapd-ssl.rc b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-gentoo-imapd-ssl.rc new file mode 100644 index 000000000000..8fd426955c57 --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-gentoo-imapd-ssl.rc @@ -0,0 +1,32 @@ +#!/bin/bash +# $Id$ +# +# Copyright 1998-2014 - 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 +source /etc/courier-imap/imapd-ssl + +ulimit -d ${IMAP_ULIMITD} + +export IMAP_TLS=1 + +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=${SSLADDRESS} \ + -stderrlogger=${libexecdir}/courierlogger \ + -stderrloggername=imapd-ssl \ + -maxprocs=${MAXDAEMONS} -maxperip=${MAXPERIP} \ + -pid=${SSLPIDFILE} ${TCPDOPTS} ${SSLPORT} \ + ${COURIERTLS} -server -tcpd \ + ${bindir}/imaplogin \ + ${libexecdir}/courier-imapd.indirect "${MAILDIR}" |