> > mailMessageStore: /usr/home/opi/Maildir/
> >
>This has the same meaning as in qmail.
>without trailing / -> mailfile (mbox)
>with trailing / -> Maildir
>
>It does not matter if the path in ~control/ldapmessagestore does end with
>a / or not. (If it is missing one will be added)
I am able to successfully pwd to the Maildir using auth_pop, but not using
courier-imap with auth_imap. I have the output of the interactive sessions
and the supporting data below.
What do I need to do to fix the courier-imap error: "Fatal error: Maildir:
No such file or directory"?
# /home/qmail/bin/qmail-popup localhost /home/qmail/bin/auth_pop pwd
+OK <25265.995307065@localhost>
user [EMAIL PROTECTED]
+OK
pass secret
/home/qmail/maildirs/test.com-user1/Maildir
# telnet localhost imap
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK Courier-IMAP ready. Copyright 1998-2001 Double Precision, Inc. See
COPYING
for distribution information.
00000001 LOGIN [EMAIL PROTECTED] "secret"
* BYE [ALERT] Fatal error: Maildir: No such file or directory
Connection closed by foreign host.
# ls -lasd /home
4 drwxr-xr-x 19 root root /home
# ls -lasd /home/qmail
4 drwxr-xr-x 15 root qmail /home/qmail
# ls -lasd /home/qmail/maildirs
4 drwxr-xr-x 5 vmail vmail /home/qmail/maildirs
]# ls -lasd /home/qmail/maildirs/test.com-user1
4 drwx------ 3 vmail vmail /home/qmail/maildirs/test.com-user1
# ls -lasd /home/qmail/maildirs/test.com-user1/Maildir
4 drwx------ 6 vmail vmail
/home/qmail/maildirs/test.com-user1/Maildir
(Note: /home was larger than /var, so qmail was compiled with /home/qmail)
# pwd
/home/qmail/control
# cat ldapmessagestore
/home/qmail/maildirs/
# cat -ev ldapmessagestore
/home/qmail/maildirs/$
# more *id
::::::::::::::
ldapgid
::::::::::::::
1003
::::::::::::::
ldapuid
::::::::::::::
5008
# grep vmail /etc/passwd /etc/group
/etc/passwd:vmail:x:5008:1003::/home/qmail/maildirs:/bin/bash
/etc/group:vmail:x:1003:
# ldapsearch -h localhost -b 'dc=test,dc=com' '([EMAIL PROTECTED])'
[EMAIL PROTECTED], ou=accounts, dc=test, dc=com
cn=Some User1
sn=User1
objectclass=top
objectclass=person
objectclass=inOrgPerson
objectclass=qmailUser
[EMAIL PROTECTED]
mailhost=mail.test.com
mailmessagestore=test.com-user1/Maildir/
accountstatus=active
deliverymode=localdelivery
[EMAIL PROTECTED]
userpassword={crypt}gRxD2ect0lJ4U
# ls -las /usr/lib/courier-imap/libexec/authlib/auth_imap
104 -rwxr-xr-x 1 root root
/usr/lib/courier-imap/libexec/authlib/auth_imap
# grep auth_imap /usr/lib/courier-imap/etc/imapd
AUTHMODULES="auth_imap"
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com