On Tue, Jan 20, 2004 at 04:16:48PM +0100, Andreas Aardal Hanssen wrote:

> The protocol dumps show that the mailboxes are empty. Are you sure Binc is 
> looking for mailboxes at the right place?

Fairly sure:

<BEGIN SESSION>
telnet toughnail.com 143
Trying 65.70.192.138...
Connected to adsl-65-70-192-138.dsl.austtx.swbell.net.
Escape character is '^]'.
* OK Welcome to Binc IMAP Copyright (C) 2002-2004 Andreas Aardal Hanssen
at 2004-01-20 17:07:03 GMT
1 login
* NO Expected single SPACE after LOGIN
1 login [EMAIL PROTECTED] XXXXXXXX
1 OK LOGIN completed
1 OK LOGIN completed
2 list "" "%"
* LIST (\Unmarked) "/" "INBOX"
2 OK LIST completed
4 select INBOX
* 2 EXISTS
* OK [UNSEEN 1] Message 1 is first unseen
* OK [UIDVALIDITY 1074575509]
* OK [UIDNEXT 4] 4 is the next UID
* FLAGS (\Answered \Flagged \Deleted \Recent \Seen \Draft)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft)] Limited
4 OK SELECT completed
5 FETCH 1:* FLAGS
* 1 FETCH (FLAGS ())
* 2 FETCH (FLAGS ())
5 OK FETCH completed
6 fetch 1:* body[text]
* 1 FETCH (BODY[TEXT] {59}

over there


-- 
Scott Parish
http://srparish.net/
)
* 1 FETCH (FLAGS (\Seen))
* 2 FETCH (BODY[TEXT] {50}

bar

-- 
Scott Parish
http://srparish.net/
)
* 2 FETCH (FLAGS (\Seen))
6 OK FETCH completed
<END SESSION>

As you see, it successfully pulled the messages which implies to me that
it's looking at the right spot (which can't just be by chance)

This is wierd though, on my first attempt the following happened
(although i immediately tried it again and it worked fine):

<BEGIN SESSION>
 telnet toughnail.com 143
Trying 65.70.192.138...
Connected to adsl-65-70-192-138.dsl.austtx.swbell.net.
Escape character is '^]'.
* OK Welcome to Binc IMAP Copyright (C) 2002-2004 Andreas Aardal Hanssen
at 2004-01-20 17:05:10 GMT
1 login [EMAIL PROTECTED] XXXXXXXX
1 OK LOGIN completed
1 OK LOGIN completed
2 fetch 1:* flags
* NO The command "FETCH" is not supported.
3 fetch 1:* flags
* NO The command "FETCH" is not supported.
4 select inbox
* 2 EXISTS
* OK [UNSEEN 1] Message 1 is first unseen
* OK [UIDVALIDITY 1074575509]
* OK [UIDNEXT 4] 4 is the next UID
* FLAGS (\Answered \Flagged \Deleted \Recent \Seen \Draft)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft)] Limited
4 OK SELECT completed
5 fetch 1:* flags
* NO The command "FETCH" is not supported.
6 FETCH 1:* FLAGS
* NO The command "FETCH" is not supported.
<END SESSION>

Wierd.

> What's the contents of bincimap.conf, and where are your mailboxes?

The mail box is in:

  /usr/jail/10.0.0.1-alder/usr/local/vpopmail/domains/mailtest.srparish.net/srp/Maildir

But, of course, the first three directories disappear when jail(2) is
called.

I've attached the conf file.

sRp

-- 
Scott Parish
http://srparish.net/
/* -*- 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 {
}

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

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

Reply via email to