OK,
thank you very much for your help Hardik.
I have to read ALWAYS the Makefiles of the programs that i use. Now i know it :)
About you said:
> You have to also export environment variable of IMAP in courier-imap run script.
To work quota fine.
I supose you talk about the imapd.rc file, no?
In this file where i have to put the export IMAP sentence?
This the imapd.rc file that i have in the qmail-ldap server:
#! /bin/sh
# $Id: imapd.rc.in,v 1.30 2005/04/03 15:47:32 mrsam Exp $
#
# Copyright 1998 - 2005 Double Precision, Inc.
# See COPYING for distribution information.
prefix=/usr/local/courier-imap
exec_prefix=/usr/local/courier-imap
bindir=${exec_prefix}/bin
libexecdir=/usr/local/courier-imap/libexec
if test ! -f ${prefix}/etc/imapd
then
echo "${prefix}/etc/imapd does not exist, forgot make install-configure?"
exit 1
fi
if test ! -f ${prefix}/etc/imapd-ssl
then
echo "${prefix}/etc/imapd-ssl does not exist, forgot make install-configure?"
exit 1
fi
TLS_CACHEFILE=""
. ${prefix}/etc/imapd-ssl
. ${prefix}/etc/imapd
case $1 in
start)
if test "$TLS_CACHEFILE" != ""
then
rm -f $TLS_CACHEFILE
fi
umask $IMAP_UMASK
ulimit -v $IMAP_ULIMITD
/usr/bin/env -i /bin/sh -c " set -a ;
prefix=/usr/local/courier-imap ;
exec_prefix=/usr/local/courier-imap ;
bindir=${exec_prefix}/bin ;
libexecdir=/usr/local/courier-imap/libexec ;
. ${prefix}/etc/imapd ; \
. ${prefix}/etc/imapd-ssl ; \
IMAP_STARTTLS=$IMAPDSTARTTLS ; export IMAP_STARTTLS ; \
PROXY_HOSTNAME=$PROXY_HOSTNAME ; export PROXY_HOSTNAME ; \
TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL ; \
/usr/local/courier-imap/libexec/couriertcpd -address=$ADDRESS \
-stderrlogger=/usr/local/sbin/courierlogger \
-stderrloggername=imapd \
-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
-pid=$PIDFILE $TCPDOPTS \
$PORT ${exec_prefix}/sbin/imaplogin ${exec_prefix}/bin/imapd
${MAILDIRPATH}"
;;
stop)
/usr/local/courier-imap/libexec/couriertcpd -pid=$PIDFILE -stop
;;
esac
exit 0
Regards
Pablo
- ¿A possible bug in how qmail-ldap calculate the maildirsize... Borja Mari
- Re: ¿A possible bug in how qmail-ldap calculate the m... Hardik Dalwadi
- Re: ¿A possible bug in how qmail-ldap calculate th... Borja Mari
- Re: ¿A possible bug in how qmail-ldap calculat... Borja Mari
- Re: ¿A possible bug in how qmail-ldap cal... Hardik Dalwadi
- Re: ¿A possible bug in how qmail-ldap... Borja Mari
- Re: ¿A possible bug in how qmail-ld ap calcula... Hardik Dalwadi
