courier-imap-4.0.6-r1-gentoo-pop3d-ssl.rc 813 B

123456789101112131415161718192021222324252627282930
  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/pop3d
  10. source /etc/courier-imap/pop3d-ssl
  11. export POP3_TLS=1
  12. eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d | \
  13. sed 's/=.*//;s/^/export /;s/$/;/'`
  14. eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d-ssl | \
  15. sed 's/=.*//;s/^/export /;s/$/;/'`
  16. eval ${PRERUN} ${libexecdir}/couriertcpd \
  17. -address=${SSLADDRESS} \
  18. -stderrlogger=${libexecdir}/courierlogger \
  19. -stderrloggername=pop3d-ssl \
  20. -maxprocs=${MAXDAEMONS} -maxperip=${MAXPERIP} \
  21. -pid=${SSLPIDFILE} ${TCPDOPTS} ${SSLPORT} \
  22. ${COURIERTLS} -server -tcpd \
  23. ${bindir}/pop3login \
  24. ${libexecdir}/courier-pop3d.indirect "${MAILDIR}"