[binc] Problem with bincimap setup

"J. Erik Heinz" <[email protected]>
Newsgroups gmane.mail.imap.binc.general
Message-ID <[email protected]>
Hi list,

Since a few days I try to set up bincimap - but i run in some errors
which i can't fix...

My aim is it to set up the bincimap only for me as user. 
-- Installed bincimap from the ports (FreeBSD), no problem executed
  without Errors
-- Installed xinet to run bincimap
-- cat /usr/local/share/examples/bincimap/xinetd-bincimap \
  /usr/local/share/examples/bincimap/xinetd-bincimaps \
  >> /usr/local/etc/xinetd.conf
  But commented out the service imaps for testing!
-- Enabled Plain Authentification in
  /usr/local/etc/bincimap/bincimap.conf: 
	allow plain auth in non ssl = "yes",
-- Created Maildir: 
	mkdir ~/Maildir
	mkdir ~/Maildir/cur
	mkdir ~/Maildir/new
	mkdir ~/Maildir/tmp
	The Maildirs are empty - no Mail inside!
-- fired up xinetd: xinetd -filelog /var/log/xinetd.log
  worked fine - head /var/log/xinetd.log:
05/3/30@23:52:55 xinetd[859]: NOTICE: xinetd Version 2.3.13 started
with libwrap loadavg options compiled in.
05/3/30@23:52:55 xinetd[859]: NOTICE: Started working: 1 available
service
-- tested imap with telnet: 
[jerik@develop] jerik # telnet 192.168.0.14 143
Trying 192.168.0.14...
Connected to op.
Escape character is '^]'.
* OK Welcome to Binc IMAP Copyright (C) 2002-2004 Andreas Aardal
* Hanssen at 2005-03-30 23:54:40 CEST
. login user password
* BYE The server died unexpectedly. Please contact your system
* administrator for more information.
Connection closed by foreign host.
The first telnettest just got a Errormessage that I can't log in there
was something wrong with the login, but i had no spelling-error. Was
like this try. Since that i just get this errormessage when I try to
connect via telnet.

Any Idea? 

Here are my confs: 
XINETD.CONF
[jerik@openprotocol] ~ # cat /usr/local/etc/xinetd.conf
### jerik:
# erstellt durch 
#       cat /usr/local/etc/bincimap/xinetd-bincimap
#       /usr/local/etc/bincimap/xinetd-bincimaps >> /etc/xinetd.conf
service imap
{
        disable         = no
        flags           = REUSE
        socket_type     = stream        
        wait            = no
        user            = root
        group           = wheel
        instances       = UNLIMITED
        server          = /usr/local/bin/bincimap-up
        server_args     = --conf=/usr/local/etc/bincimap/bincimap.conf
--logtype=syslog -- /bin/checkpassword /usr/local/bin/bincimapd
        log_type        = SYSLOG daemon info
}

## hab noch kein Zertifikat
#service imaps
#{
#       disable         = no
#       flags           = REUSE
#       socket_type     = stream        
#       wait            = no
#       user            = root
#       group           = wheel
#       instances       = UNLIMITED
#       server          = /usr/local/bin/bincimap-up
#       server_args     = --ssl
#       --conf=/usr/local/etc/bincimap/bincimap.conf --logtype=syslog
#       -- /bin/checkpassword /usr/local/bin/bincimapd
#       log_type        = SYSLOG daemon info
#}

BINCIMAP.CONF
[jerik@openprotocol] ~ # cat /usr/local/etc/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 plain auth in non ssl = "no",             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 = "/usr/local/bin",
    jail user = "nobody",
    jail group = "nobody"
}

//----------------------------------------------------------------------------
Log {
    type = "syslog",                             /* 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 = "Maildir",                              /* 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/local/etc/bincimap/bincimap.pem",        /*
private key and
                                                      certificate
                                                      chain PEM file
                                                      name */

    ca file = "",                                  /* file to use as
                                                      certificate
                                                      authority */
    ca path = "",                                  /* path to search
                                                      for more
certificate
                                                      authorities */

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

    verify peer = "no"
}

//----------------------------------------------------------------------------
      /* $Id: bincimap.conf.in,v 1.2 2003/08/23 12:53:25 andreaha Exp

Regards Erik
-- 
J. Erik Heinz
Koblenzer Str. 11
60327 Frankfurt am Main
Handy: 0163 337 37 45
Mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.