courier-imap-4.0.6-r1-gentoo-pop3d.rc 859 B

12345678910111213141516171819202122232425262728293031
  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-ssl
  10. source /etc/courier-imap/pop3d
  11. POP3DSTARTTLS="${POP3_STARTTLS}"
  12. export POP3_STARTTLS POP3DSTARTTLS
  13. TLS_PROTOCOL="${TLS_STARTTLS_PROTOCOL}"
  14. eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d | \
  15. sed 's/=.*//;s/^/export /;s/$/;/'`
  16. eval `sed -n '/^#/d;/=/p' </etc/courier-imap/pop3d-ssl | \
  17. sed 's/=.*//;s/^/export /;s/$/;/'`
  18. eval ${PRERUN} ${libexecdir}/couriertcpd \
  19. -address=${ADDRESS} \
  20. -stderrlogger=${libexecdir}/courierlogger \
  21. -stderrloggername=pop3d \
  22. -maxprocs=${MAXDAEMONS} -maxperip=${MAXPERIP} \
  23. -pid=${PIDFILE} ${TCPDOPTS} ${PORT} \
  24. ${bindir}/pop3login \
  25. ${libexecdir}/courier-pop3d.indirect "${MAILDIR}"