I have been trying to get binc working for the past coupld of weeks, but am getting stuck at one point. I am on FreeBSD 4.8 and using the latest binc. I installed binc from the ports tree and am using qmail. After settign up binc, I have tried to connect to binc with mail.app on OS X and kmal on FreeBSD. Both clients conenct, but don't get any of the new mail. I was wondering if anyone could help me. Here are my config files: to run binc: tcpserver -c 100 -u 0 -g 0 myserver.org 143 /usr/local/bin/bincimap-up --conf=/usr/local/etc/bincimap/bincimap.conf -- /usr/local/bin/checkpassword /usr/local/bin/bincimapd

/* -*- 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 = "no",            /* allow login or
     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 = "/usr/local/bin/bincimap",
     jail user = "nobody",
     jail group = "nobody"
}

/
/-----------------------------------------------------------------------
-----
Log {
//    type = "syslog",                             /* supports
     type = "stderr",                             /* 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 */

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 $
*/

The jailfolder,  I wasn't too sure what to do, so I just created   jail
path = "/usr/local/bin/bincimap", and chowned it to nobody.  Also for
my mail clients, I set the mail dir to "~/Maildir/"  The logs don't
show any problems, the only thing it shows is login stuff like:

27249 0 [EMAIL PROTECTED]:] Client connected to Binc IMAP from
192.168.0.1
User <me> entered authenticated mode.

If there is any other information required, please ask. Thanks.




Reply via email to