diff options
Diffstat (limited to 'net-mail/courier-imap/files/courier-imap-4.0.6-r1-gentoo-pop3d.rc')
-rw-r--r-- | net-mail/courier-imap/files/courier-imap-4.0.6-r1-gentoo-pop3d.rc | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/net-mail/courier-imap/files/courier-imap-4.0.6-r1-gentoo-pop3d.rc b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-gentoo-pop3d.rc new file mode 100644 index 000000000000..eda52abbed14 --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-gentoo-pop3d.rc @@ -0,0 +1,31 @@ +#!/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/pop3d-ssl +source /etc/courier-imap/pop3d + +POP3DSTARTTLS="${POP3_STARTTLS}" +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/$/;/'` + +eval ${PRERUN} ${libexecdir}/couriertcpd \ + -address=${ADDRESS} \ + -stderrlogger=${libexecdir}/courierlogger \ + -stderrloggername=pop3d \ + -maxprocs=${MAXDAEMONS} -maxperip=${MAXPERIP} \ + -pid=${PIDFILE} ${TCPDOPTS} ${PORT} \ + ${bindir}/pop3login \ + ${libexecdir}/courier-pop3d.indirect "${MAILDIR}" |