On Sun, August 10, 2003 1:57 am, "gary" said:
> Hi Robin,
>
> --On Sunday, August 10, 2003 01:45:11 AM +0100 Robin Bowes
> <[EMAIL PROTECTED]> wrote:
>
>> I want to do the same sort of thing with courier-imap to see if
>> squirrelmail is working differently than with bincimap.
>>
>> Here's my tcpserver run script for courier-imap:
>>
>># !/bin/sh
>> exec 2>&1
>> PREFIX=/usr/lib/courier-imap
>> exec /usr/local/bin/envdir ./env \
>> /usr/local/bin/tcpserver -v -HDRP 143 \
>> ${PREFIX}/sbin/imaplogin ${PREFIX}/libexec/authlib/authvchkpw \
>> ${PREFIX}/bin/imapd Maildir
>>
>> I've tried putting "/usr/local/bin/recordio" at most of the plausible
>> places in this script, but I can't seem to get courier-imap to continue
>> to work and to log the imap conversations.
>>
>> Any suggestions?
>
> Yah, take it to the Courier-IMAP list. This is the BINC list.
Gary,
I asked here first since my exertions are primarily aimed at working out
why binc is slooow when used with squirrelmail. Also, I guess a lot of
binc users will have come from courier and may have enough experience to
offer help.
Anyway no matter. I took your advice and got a reply from Sam.
The way to do it is to add IMAPDEBUGFILE=foo.dat to the environment before
running courier-imap. This could either go in the default startup script
or, if you're using daemontools, then you should be able to put a file
named IMAPDEBUGFILE in /service/courier-imap/env containing
"/path/to/logfile" to achieve the same effect.
FWIW, I've had to go back to using courier since I found binc unusable
with squirrelmail 1.5.0 CVS. I suspect this could be a
configuration/capability issue since courier is much faster (eg. I suspect
SM sends many more requests for folder listings when running against binc
than it does when running against courier. In fact, that's why I want to
do the logging of IMAP commands with courier!)
HTH someone. Will report back when I've done some more debugging.
R.
--
Robin Bowes | http://robinbowes.com