Hi

Im absolutely new to binc-imap, just installed yesterday :-), but I have a
few questions.

For details on the installation, see below.

Im receiving the following log from my Imap server. I'm not sure about what
to do about the invalid jail group "nobody"

@400000003ee86fc531bbd984 tcpserver: status: 1/40
@400000003ee86fc532933e24 tcpserver: pid 858 from 62.3.239.149
@400000003ee86fc532935d64 tcpserver: ok 858 webserver01:192.168.1.11:143
:62.3.239.149::4408
@400000003ee86fc5329370ec 00858 00000 [EMAIL PROTECTED]:] Client
connected to Binc IMAP from 62.3.239.149
@400000003ee86fc6010def84 00858 00001 [EMAIL PROTECTED]:] Warning:
invalid jail group "nobody"
@400000003ee86fc601153e9c 00860 00000 [EMAIL PROTECTED]@62.3.239.149:] User
<[EMAIL PROTECTED]> entered authenticated mode.

When i move focus in Outlook Express from Inbox, the only folder visible, to
the server (clicking on it) I get the following:

@400000003ee874be172fa564 01427 00002 [EMAIL PROTECTED]:] Error,
shutting down: readChar EOF
@400000003ee874be186d519c 01429 00001 [EMAIL PROTECTED]@62.3.239.149:INBOX]
Shutting down - bodies:0 statements:3
@400000003ee874be18918b0c 01427 00003 [EMAIL PROTECTED]:] Input warning,
shutting down: in Broker::parse, in expectTag, in expectTagChar, readChar
EOF
@400000003ee874be1891b21c 01427 00004 [EMAIL PROTECTED]:] Shutting
down - read:195 wrote:330
@400000003ee874be1891c5a4 tcpserver: end 1427 status 0
@400000003ee874be1891d544 tcpserver: status: 0/40

When I use the Reset folder-list in Outlook Express I get the following:

@400000003ee8741f05971d3c 31670 00092 [EMAIL PROTECTED]@62.3.239.149:] Error when
processing CREATE: failed to create "Sent Items"
@400000003ee8741f100b98ec 31670 00093 [EMAIL PROTECTED]@62.3.239.149:] Error when
processing CREATE: failed to create "Drafts"

Also I'm not able to create new folders. I get the following entry in the
log:

@400000003ee8747f1bebe554 31670 00095 [EMAIL PROTECTED]@62.3.239.149:] Error when
processing CREATE: failed to create "ASDF"

Whenever I receive mail it is visible and readable from the mailbox, no
problem in that. Also I use the system with qmail-pop3d, omail-webmail and
omail-mailadmin.

I'm using bincimap with vmailmgr like this (thx to Lukas Beeler at
http://projectdream.org/publications/bincimap.html (See user contributions
on the bincimap website)):

It's on a Mandrake Linux...

I installed from the tar-ball

cd /usr/local/src
wget http://www.bincimap.org/dl/tarballs/bincimap-1.1.8.tar.gz
gunzip bincimap-1.1.8.tar.gz
tar xvf bincimap-1.1.8.tar
cd bincimap-1.1.8
sh ./configure --without-ssl
make
make install

(Yes, so far I'm running without SSL :-( )

I've got the following run files for use with daemontools

[EMAIL PROTECTED] root]# ls -la /etc/opt/bincimap/supervise/imap/run
-rwxr-xr-x    1 root     root          774 Jun 12 11:55
/etc/opt/bincimap/supervise/imap/run*

[EMAIL PROTECTED] root]# cat /etc/opt/bincimap/supervise/imap/run
#!/bin/sh

exec 2>&1
exec    tcpserver -vRH -l "`hostname`" 0 143 \
        /opt/bincimap/bin/bincimap-up \
        --logtype=multilog \
        --conf=/etc/opt/bincimap/bincimap.conf -- \
        /usr/local/bin/checkvpw /etc/opt/bincimap/supervise/imap/authwrapper
\
        /opt/bincimap/bin/bincimapd Maildir

[EMAIL PROTECTED] root]# ls -la /etc/opt/bincimap/supervise/imap/log/run
-rwxr-xr-x    1 root     root          631 Jun 11 21:14
/etc/opt/bincimap/supervise/imap/log/run*

[EMAIL PROTECTED] root]# cat /etc/opt/bincimap/supervise/imap/log/run
#!/bin/sh

exec multilog t n5 s1048576 /var/log/bincimap

and the following authwrapper

[EMAIL PROTECTED] root]# ls -la /etc/opt/bincimap/supervise/imap/authwrapper
-rwxr-xr-x    1 root     root           56 Jun 12 12:31
/etc/opt/bincimap/supervise/imap/authwrapper*

[EMAIL PROTECTED] root]# cat /etc/opt/bincimap/supervise/imap/authwrapper
#!/bin/sh
export MAILDIR="$2"
cd "$HOME"/"$2"
exec "$@"

The binchimap conf file looks like this

[EMAIL PROTECTED] root]# ls -la /etc/opt/bincimap/bincimap.conf
-rw-r--r--    1 root     root         4067 Jun 12 13:37
/etc/opt/bincimap/bincimap.conf

[EMAIL PROTECTED] root]# cat /etc/opt/bincimap/supervise/imap/authwrapper
#!/bin/sh
export MAILDIR="$2"
cd "$HOME"/"$2"
exec "$@"
[EMAIL PROTECTED] root]# ls /etc/opt/bincimap/
.HCs           bincimap.conf  supervise      xinetd
[EMAIL PROTECTED] root]# ls -la /etc/opt/bincimap/bincimap.conf
-rw-r--r--    1 root     root         4067 Jun 12 13:37
/etc/opt/bincimap/bincimap.conf
[EMAIL PROTECTED] root]# cat /etc/opt/bincimap/bincimap.conf
/* -*- mode:java -*- */

// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.

// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307,
// USA.

// Global configuration file for Binc IMAP. Some settings in this file
// can be overrun with command line arguments.

//--------------------------------------------------------------------------
--
Authentication {
    allow plain auth in non ssl = "yes",            /* allow login or
                                                      authenticate
                                                      when not in
                                                      SSL/TLS mode */

    auth penalty = 4,                              /* on auth failure,
                                                    * server sleeps so
                                                    * many seconds
                                                    * before allowing
                                                    * client to
                                                    * authenticate
                                                    * again.
                                                    */
    disable starttls = "no"
}

//--------------------------------------------------------------------------
--
Security {
    jail path = "/opt/bincimap/bin",
    jail user = "nobody",
    jail group = "nobody"
}

//--------------------------------------------------------------------------
--
Log {
    type = "multilog",                             /* supports
                                                    * multilog or
                                                    * syslog or
                                                    * stderr (for testing).
                                                    */
    environment ip variable = "TCPREMOTEIP"
}

//--------------------------------------------------------------------------
--
Mailbox {

    depot = "Maildir++",                           /* Use Maildir++ style
                                                    * depot. */

    type = "Maildir",                              /* only Maildir
                                                    * support */

    path = "./",                              /* default path */

    auto create inbox = "yes",                     /* create INBOX in
                                                    * given format if
                                                    * it doesn't
                                                    * exist.
                                                    */

    auto subscribe mailboxes = "INBOX",            /* list mailboxes
                                                    * in one string,
                                                    * seperated by
                                                    * commas
                                                    */

    umask = "077"                                  /* use this umask
                                                    * when creating
                                                    * mailboxes, or
                                                    * when copying and
                                                    * appending
                                                    * messages.
                                                    */
}

//--------------------------------------------------------------------------
--
Session {
    idle timeout = 1860,                           /* idle timeout in
                                                      seconds */

    auth timeout = 60,                             /* timeout before
                                                      auth in
                                                      seconds */

    transfer timeout = 1200,                       /* timeout per
                                                      transferred com
                                                      unit (I/O) */

    transfer buffer size = 1024                    /* number of bytes
                                                      to buffer before
                                                      passing on to
                                                      client. */
}

//--------------------------------------------------------------------------
--
SSL {
    pem file = "/usr/share/ssl/certs/stunnel.pem", /* private key and
                                                      certificate
                                                      chain PEM file
                                                      name */

    ca file = "",                                  /* file to use as
                                                      certificate
                                                      authority */

    cipher list = "!ADH:RC4+RSA:HIGH:MEDIUM:LOW:EXP:+SSLv2:+EXP",

    verify peer = "no"
}

//--------------------------------------------------------------------------
--
      /* $Id: bincimap.conf.in,v 1.1 2003/03/27 12:40:39 andreaha Exp $ */

Reply via email to