[FUGSPBR] Courier-imap
Johnny Johnny
johnnyuba em hotmail.com
Sex Dez 27 17:20:54 BRST 2002
# cat imapd.rc
#! /bin/sh
# $Id: imapd.rc.in,v 1.20 2002/07/09 19:52:10 mrsam Exp $
#
# Copyright 1998 - 2002 Double Precision, Inc.
# See COPYING for distribution information.
prefix=/usr/local
exec_prefix=/usr/local
bindir=${exec_prefix}/bin
libexecdir=/usr/local/libexec/courier-imap
TLS_CACHEFILE=""
. /usr/local/etc/courier-imap/imapd-ssl
. /usr/local/etc/courier-imap/imapd
case $1 in
start)
LIBAUTHMODULES=""
for f in `echo $AUTHMODULES`
do
LIBAUTHMODULES="$LIBAUTHMODULES
/usr/local/libexec/courier-imap/authlib/$f"
done
if test -x ${libexecdir}/authlib/authdaemond
then
/usr/bin/env - ${libexecdir}/authlib/authdaemond start
fi
if test "$TLS_CACHEFILE" != ""
then
rm -f $TLS_CACHEFILE
fi
ulimit -d $IMAP_ULIMITD
/usr/bin/env - /bin/sh -c " set -a ; .
/usr/local/etc/courier-imap/imapd ; \
. /usr/local/etc/courier-imap/imapd-ssl ; \
IMAP_STARTTLS=$IMAPDSTARTTLS ; export IMAP_STARTTLS ; \
TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL ; \
/usr/local/libexec/courier-imap/couriertcpd
-address=$ADDRESS \
-stderrlogger=/usr/local/libexec/courier-imap/courierlogger \
-stderrloggername=imapd \
-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
-pid=$PIDFILE $TCPDOPTS \
$PORT ${exec_prefix}/sbin/imaplogin $LIBAUTHMODULES
\
${exec_prefix}/bin/imapd Maildir"
;;
stop)
/usr/local/libexec/courier-imap/couriertcpd -pid=$PIDFILE -stop
if test -x ${libexecdir}/authlib/authdaemond
then
${libexecdir}/authlib/authdaemond stop
fi
;;
esac
exit 0
webserver# # cat imapd.rc
#: Command not found.
#! /bin/sh
# $Id: imapd.rc.in,v 1.20 2002/07/09 19:52:10 mrsam Exp $
#
# Copyright 1998 - 2002 Double Precision, Inc.
# See COPYING for distribution information.
prefix=/usr/local
exec_prefix=/usr/local
bindir=${exec_prefix}/bin
libexecdir=/usr/local/libexec/courier-imap
TLS_CACHEFILE=""
. /usr/local/etc/courier-imap/imapd-ssl
. /usr/local/etc/courier-imap/imapd
webserver# cat imapd.rc
#! /bin/sh
# $Id: imapd.rc.in,v 1.20 2002/07/09 19:52:10 mrsam Exp $
#
# Copyright 1998 - 2002 Double Precision, Inc.
# See COPYING for distribution information.
prefix=/usr/local
exec_prefix=/usr/local
bindir=${exec_prefix}/bin
libexecdir=/usr/local/libexec/courier-imap
TLS_CACHEFILE=""
. /usr/local/etc/courier-imap/imapd-ssl
. /usr/local/etc/courier-imap/imapd
case $1 in
start)
LIBAUTHMODULES=""
for f in `echo $AUTHMODULES`
do
LIBAUTHMODULES="$LIBAUTHMODULES
/usr/local/libexec/courier-imap/authlib/$f"
done
if test -x ${libexecdir}/authlib/authdaemond
then
/usr/bin/env - ${libexecdir}/authlib/authdaemond start
fi
if test "$TLS_CACHEFILE" != ""
then
rm -f $TLS_CACHEFILE
fi
ulimit -d $IMAP_ULIMITD
/usr/bin/env - /bin/sh -c " set -a ; .
/usr/local/etc/courier-imap/imapd ; \
. /usr/local/etc/courier-imap/imapd-ssl ; \
IMAP_STARTTLS=$IMAPDSTARTTLS ; export IMAP_STARTTLS ; \
TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL ; \
/usr/local/libexec/courier-imap/couriertcpd
-address=$ADDRESS \
-stderrlogger=/usr/local/libexec/courier-imap/courierlogger \
-stderrloggername=imapd \
-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
-pid=$PIDFILE $TCPDOPTS \
$PORT ${exec_prefix}/sbin/imaplogin $LIBAUTHMODULES
\
${exec_prefix}/bin/imapd Maildir"
;;
stop)
/usr/local/libexec/courier-imap/couriertcpd -pid=$PIDFILE -stop
if test -x ${libexecdir}/authlib/authdaemond
then
${libexecdir}/authlib/authdaemond stop
fi
;;
esac
exit 0
>Date: Fri, 27 Dec 2002 16:49:56 -0200
>
>
>Ola o q tem no seu imaprc ?
>
_________________________________________________________________
MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com
_______________________________________________________________
Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
Mais detalhes sobre a lista de discussão freebsd