On Wed, Jun 09, 2004 at 08:29:17AM +0200, Andreas Aardal Hanssen wrote:

> Binc is usually much simpler to set up than Courier-IMAP. The run files
> bundled with Binc IMAP should work right out of the box.

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.

> 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",

What more do I need?

> 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

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

> 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

Thanks a lot for the support.
With warm regards,
-Payal

Reply via email to