Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2001 14:32:30 +0000
From:      daniel lawrence <danny@AlphaZed.com>
To:        "Knoll, Jim" <knollj@cranepm10.com>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   Re: courier-imap configuration
Message-ID:  <20011130143229.J98389@alphazed.com>
In-Reply-To: <291851553D46D511827A00B0D0D0356F02E13D@INDY-X>
References:  <291851553D46D511827A00B0D0D0356F02E13D@INDY-X>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 30, 2001 at 08:51:32AM -0500, Knoll, Jim wrote:
> Danny,
>
> Thanks for the reply.  I think the problem is imapd cannot find my Maildir
> and I don't know how to tell it where it is (/home/jknoll/Maildir/inbox).
> Here is the result of specifying INBOX *:

man makeuserdb extract:

       mail   value  specifies  the  location  of  the  account's
              Maildir mailbox. If missing, the account's  Maildir
              is  expected  to be present in the default location
              for system accounts.

That applies to authuserdb, not sure exactly how authpwd sets MAILDIR. You
might want to investigate exactly which authentication module you are using.

Some things to look at:

1) In .../etc/imapd, the AUTHMODULES= value.

2) .../etc/authmodulelist

3) In the build directory, authlib subdirectory, try running authtest.


Btw, Courier-IMAP places folders under INBOX, not parallel to your inbox, and
puts a '.' in front of the name. Like this:

     Maildir/new
     Maildir/tmp
     Maildir/cur
     Maildir/.FolderA/
     Maildir/.FolderA/new
     Maildir/.FolderA/tmp
     Maildir/.FolderA/cur


You could try changing your .qmail file (or equivalent) to place incoming
mail in the Maildir named ~/Maildir/, and then rename the existing folders,
placing a dot before the name.



> [jknoll@server]~> telnet localhost 143
> Trying 127.0.0.1...
> Connected to localhost.indy.rr.com.
> Escape character is '^]'.
> * OK Courier-IMAP ready. Copyright 1998-2001 Double Precision, Inc.  See
> COPYING for distribution information.
> a001 login jknoll password_not_shown
> a001 OK LOGIN Ok.
> a002 LIST INBOX *
> * LIST (\HasNoChildren) "." "INBOX.Trash"
> a002 OK LIST completed.
> a003 LIST inbox *
> * LIST (\HasNoChildren) "." "INBOX.Trash"
> a003 OK LIST completed.
> a004 logout
> * BYE Courier-IMAP server shutting down
> a004 OK LOGOUT completed
> Connection closed by foreign host.
>
> > -----Original Message-----
> > From:	daniel lawrence [SMTP:danny@AlphaZed.com]
> > Sent:	Friday, November 30, 2001 8:15 AM
> > To:	Knoll, Jim
> > Cc:	'freebsd-questions@freebsd.org'
> > Subject:	Re: courier-imap configuration
> >
> > On Fri, Nov 30, 2001 at 07:29:17AM -0500, Knoll, Jim wrote:
> > > Hello,
> > >
> > > I have installed courier-imap from ports on a FreeBSD 4.4 stable system
> > with
> > > qmail.  I simply want to be able to use imap to access my mail.
> > >
> > > The problem is I cannot seem to access any of my mail folders.  The
> > > documentation indicates the authentication module is responsible for
> > > locating the primary maildir, but I do not know how to configure the
> > primary
> > > maildir for authpwd or pam.
> > >
> > > My inbox is in my home directory (/home/jknoll/Maildir/inbox).  I can
> > telnet
> > > to localhost port 143 and login with my username and password.  I assume
> > > authpwd is being used to authenticate, but I am not certain of that.
> > >
> > > [jknoll@server]~> telnet localhost 143
> > > Trying 127.0.0.1...
> > > Connected to localhost.indy.rr.com.
> > > Escape character is '^]'.
> > > * OK Courier-IMAP ready. Copyright 1998-2001 Double Precision, Inc.  See
> > > COPYING
> > > +for distribution information.
> > > a001 login jknoll password_not_shown
> > > a001 OK LOGIN Ok.
> > > a002 LIST * *
> > > a002 OK LIST completed.
> > > a003 logout
> > > * BYE Courier-IMAP server shutting down
> > > a003 OK LOGOUT completed
> > > Connection closed by foreign host.
> > >
> > > [jknoll@server]~> ls Maildir
> > > accounts                friends                 saic
> > > convert_mbox_to_maildir inbox                   sent-mail
> > > family                  jdom-interest           steph_jobs
> > > freebsd                 misc                    unknown
> > > freebsd-current         orders
> > > freebsd-java            programming
> > >
> > > Does anyone have any suggestions?
> >
> >
> > Try
> >
> >      a002 LIST INBOX *
> >
> >
> > > TIA,
> > >
> > > Jim

--
daniel lawrence               AlphaZed Ltd
mailto:danny@AlphaZed.com     http://www.AlphaZed.com
+44 (0)20 8312 0723           London

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011130143229.J98389>