courier-imap-4.0.6-r1-gentoo-imapd-ssl.rc 840 B

1234567891011121314151617181920212223242526272829303132
  1. #!/bin/bash
  2. #
  3. # Copyright 1998 - 2000 Double Precision, Inc.
  4. # See COPYING for distribution information.
  5. prefix=/usr
  6. exec_prefix=/usr
  7. bindir=/usr/sbin
  8. libexecdir=/usr/GENTOO_LIBDIR/courier-imap
  9. source /etc/courier-imap/imapd
  10. source /etc/courier-imap/imapd-ssl
  11. ulimit -d ${IMAP_ULIMITD}
  12. export IMAP_TLS=1
  13. eval `sed -n '/^#/d;/=/p' </etc/courier-imap/imapd | \
  14. sed 's/=.*//;s/^/export /;s/$/;/'`
  15. eval `sed -n '/^#/d;/=/p' </etc/courier-imap/imapd-ssl | \
  16. sed 's/=.*//;s/^/export /;s/$/;/'`
  17. eval ${PRERUN} ${libexecdir}/couriertcpd \
  18. -address=${SSLADDRESS} \
  19. -stderrlogger=${libexecdir}/courierlogger \
  20. -stderrloggername=imapd-ssl \
  21. -maxprocs=${MAXDAEMONS} -maxperip=${MAXPERIP} \
  22. -pid=${SSLPIDFILE} ${TCPDOPTS} ${SSLPORT} \
  23. ${COURIERTLS} -server -tcpd \
  24. ${bindir}/imaplogin \
  25. ${libexecdir}/courier-imapd.indirect "${MAILDIR}"