On Tue, 1 Apr 2003, Tom Doyle wrote:
>Hi again,
>Though i would have another bash with the new version.... I still can't
>create the folders.
>Surely it's something simple. What other information can I provide that wold
>help?

You are probably using a Maildir++ depot, and all mailboxes must be
created under INBOX. Seems your client wants to use Maildir/ as the root
folder, but it should use INBOX, that is INBOX/Trash.

You can change to IMAPdir if you don't like this requirement. In the 
Mailbox section of your global bincimap.conf file or local .bincimap file, 
set depot = "IMAPdir" like this, together with all the other settings:

Mailbox { depot = "IMAPdir" }

Then you need to create a symlink inside the Maildir that points to the 
current directory, like this:

~/Maildir/INBOX -> ~/Maildir

Then you can create mailboxes at any level.

Andy

PS: The error message sucks ;). I'll make a friendlier one.

>logs:
>
>-----------------------------------------
>/var/opt/log/bincimap/current
>-----------------------------------------
>@400000003e88db1203c6f504 Connection from
>@400000003e88db1b23bd0e34 Connection from
>@400000003e88db1d3aa44e64 00808 00000 [EMAIL PROTECTED]:] Caught operator
>exception: 2 => unable to create : No such file or directory
>-----------------------------------------
>This is from the web server log that has the imap client running...
>httpd/error_log
>-----------------------------------------
>auc: aucemail: * OK Welcome to Binc IMAP v1.1.2 (c) Copyright 2002, 2003
>Andreas Aardal Hanssen at 2003-04-01T10:08:24+1000
>auc: aucemail: Welcome to Binc IMAP v1.1.2 (c) Copyright 2002, 2003 Andreas
>Aardal Hanssen at 2003-04-01T10:08:24+1000
>auc: aucemail: 00000000 CAPABILITY
>auc: aucemail: * CAPABILITY IMAP4rev1 STARTTLS AUTH=LOGIN AUTH=PLAIN
>auc: aucemail: 00000000 OK CAPABILITY completed
>auc: aucemail: 00000001 AUTHENTICATE LOGIN
>auc: aucemail: + VXNlciBOYW1l
>auc: aucemail: dG9t
>auc: aucemail: + UGFzc3dvcmQ=
>auc: aucemail: MTFmaXNo
>auc: aucemail: 00000001 OK AUTHENTICATE completed
>auc: aucemail: 00000002 CAPABILITY
>auc: aucemail: * CAPABILITY IMAP4rev1 STARTTLS AUTH=LOGIN AUTH=PLAIN
>auc: aucemail: 00000002 OK CAPABILITY completed
>auc: aucemail: 00000003 SELECT INBOX
>auc: aucemail: * OK [UIDVALIDITY 1049154526]
>auc: aucemail: * OK [UIDNEXT 1] 1 is the next UID
>auc: aucemail: * FLAGS (\Answered \Flagged \Deleted \Recent \Seen \Draft)
>auc: aucemail: * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen
>\Draft)] Limited
>auc: aucemail: 00000003 OK [READ-WRITE]
>auc: aucemail: Mailbox is empty
>auc: aucemail: 00000004 LIST Maildir/ Trash
>auc: aucemail: 00000004 OK LIST completed
>auc: aucemail: 00000005 Create Maildir/Trash
>auc: aucemail: 00000005 NO unable to create : No such file or directory
>auc: aucemail: unable to create : No such file or directory
>auc: aucemail: Trying IP address [128.0.5.11]
>auc: aucemail: 00000006 LIST Maildir/ *
>auc: aucemail: 00000006 OK LIST completed
>auc: aucemail: 00000007 Create Maildir/test
>auc: aucemail: 00000007 NO unable to create : No such file or directory
>auc: aucemail: unable to create : No such file or directory
>-----------------------------------------
>There is a setting in the client to set the path to other imap folders
>relative to the home drive. I changed this to Maildir/INBOX...
>-----------------------------------------
>auc: aucemail: 00000004 LIST Maildir/INBOX/ Trash
>auc: aucemail: 00000004 OK LIST completed
>auc: aucemail: 00000005 Create Maildir/INBOX/Trash
>auc: aucemail: 00000005 NO unable to create : No such file or directory
>auc: aucemail: unable to create : No such file or directory
>auc: aucemail: Trying IP address [128.0.5.11]
>auc: aucemail: 00000006 LIST Maildir/INBOX/ *
>auc: aucemail: 00000006 OK LIST completed
>--------------------------------------------------
>
>Where am I going wrong?
>
>Thanks people.
>Tom.
>
>_________________________
>Tom Doyle
>Network Administrator
>St Vincent's College
>Rockwall Crescent
>Potts Point NSW 2011
>Ph: 02 9368 1611
>Fx: 02 9356 2118
>[EMAIL PROTECTED]
>
>
>
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Andreas
>Aardal Hanssen
>Sent: Monday, 17 March 2003 6:49 PM
>To: Binc IMAP Server
>Subject: Re: [bincimap] Creating folders
>
>
>On Thu, 13 Mar 2003, Tom Doyle wrote:
>>Hi Andy,
>>Thanks for the quick response.
>>I picked that up from the archives and have tried the combinations...
>>-foo
>>-.foo
>>-INBOX.foo
>>All these fail. Am I wrong with the paths?
>>In my client's (AUC) config I can set the:
>>-Local Spool Path (set to $homedir/Maildir)
>>-Folder Path ("relative to the users home directory where mail folders
>other
>>than the inbox are stored")
>> I set Folder Path to: Maildir/
>
>These settings aren't at all in use by an IMAP client, because it's the
>server that decides where your local sool and folder path is. Since your
>settings look quite standard, Binc IMAP should work off-the-shelf.
>
>Are you sure the client is using IMAP at all? Can you check the Binc IMAP
>logs /var/opt/log/bincimap or /var/log/messages to see if there is any
>activity there?
>
>Andy
>
>>-----Original Message-----
>>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Andreas
>>Aardal Hanssen
>>Sent: Thursday, 13 March 2003 9:19 PM
>>To: Binc IMAP Server
>>Subject: Re: [bincimap] Creating folders
>>
>>
>>Hi, Tom!
>>
>>On Thu, 13 Mar 2003, Tom Doyle wrote:
>>>I have just setup the bincimap server on a redhat box along
>>>with qmail.
>>>It seems to work ok (sending emails), but I get an error
>>>when trying to CREATE folders. for example, when I send an
>>>email it tries to create a folder called 'sent-mail'
>>>automatically. This fails. Manually trying to add a folder
>>>from the email client gives an error also. I have had a look
>>>through a few of these mail archives but cant figure out
>>>what the problems is. Everything is with default settings.
>>
>>We are resolving this problem, but currently you have to create all
>>folders as subfolders of INBOX. The delimiter is a '.', so to create "foo"
>>you need to call it "INBOX.foo" or right-click on INBOX and create a
>>subfolder called "foo".
>>
>>Andy
>>
>>--
>>Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg
>>Author of Binc IMAP    | Nil desperandum
>>
>>
>
>--
>Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg
>Author of Binc IMAP    | Nil desperandum
>
>

-- 
Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP    | Nil desperandum

Reply via email to