On Wed, 9 Jun 2004, Payal Rathod wrote:
>Why do you say so? Just today I installed
>courier-imap and I just had to do ./configure --[parameters], make, make
>install, make install-configure and it worked. And people told me that
>bincimap does not support server side sorting.
>But you are right about the run files.

Then you're truly among the lucky. :-) On the other hand, most can get
Binc IMAP up just as easily so that's also confusing.

>> As the man pages also say, depot can either be Maildir++ or IMAPdir. The
>> Mailbox { type = "xxxx" } conf setting has to be Maildir.
>What is depot? Yes as I said I have it right, maildir.
>depot = "Maildir",
>type = "Maildir",
>path = "Maildir",

You could check "man bincimap.conf". In the conf file, in the Mailbox
section, there's an item called "depot". And it can't be set to "Maildir";
just leave it as it is: Maildir++. Actually, the default conf file should
work perfectly well for you.

>> The * BYE message means that either bincimapd crashed, or checkpassword
>> crashed. Try this:
>> echo "<user>\0<pass>\0"|/bin/checkpassword 3<&0 echo;echo $?
>echo "rp\0xxxxx\0" | /bin/checkpassword 3<&0 echo;echo $?
>2

That should be echo -n, not just echo.

>$ printf "%s\0%s\0%s\0" rp xxxxx Y123456 | /bin/checkpassword id 3<&0
>uid=555(rp) gid=555(rp) groups=555(rp)

Looks right.

>> Also, could you please post your run file and conf file so we can see it
>> there's something fishy going on in there.
>My run file is,
>#!/bin/sh
># $Id: run.in,v 1.1.1.1 2003/08/18 18:06:05 andreaha Exp $
># daemontools supervise run-file for Binc IMAP Service.
>
>exec 2>&1
>
>exec    tcpserver -c 100 -u 0 -g 0              \
>    -l $(hostname) -HDRP                        \
>    0 143                                       \
>    /usr/local/bin/bincimap-up                  \
>    --logtype=multilog                          \
>    --conf=/usr/local/etc/bincimap.conf --      \
>    /bin/checkpassword                          \
>    /usr/local/bin/bincimapd
>
>I am putting my conf file at,
>http://payal.staticky.com/bincconf.txt

Just change depot="Maildir" back to depot="Maildir++", and your setup is
supposed to work just fine.

Andy :-)

--
Andreas Aardal Hanssen   | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP      |  "It is better not to do something
http://www.bincimap.org/ |        than to do it poorly."

Reply via email to