bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] folder_create() on $HOME/Mail fails with ENOENT in C


From: Joachim Nilsson
Subject: Re: [bug-mailutils] folder_create() on $HOME/Mail fails with ENOENT in CVS code.
Date: Fri, 09 Jul 2004 14:05:57 +0200

On Thu, 2004-06-03 at 10:43, Sergey Poznyakoff wrote:
> > the folder_create() interface seems to have changed between 0.4.0
> > and 0.4.1 (CVS).  In 0.4.0 I could list my mailboxes in ~/Mail/*
> > using very simple code, see below.
> This is due to autodetection of local folder formats. I'll investigate
> this and post detailed info later.

I've tried this again with both mailutils-0.5 and the latest in CVS.
No luck ... 

---------------------------------------------------------------------
  mu_register_local_mbox_formats();

  status = folder_create (&folder, "file://home/jocke/Mail");
  if (status)
    {
      set_status (mu_strerror (status));
      return status;
    }

  status = folder_list (folder, url, "*", &woy);
---------------------------------------------------------------------

folder_create() always returns status=MU_ERR_NOENT, i.e., "Requested
item not found".

Note: /home/jocke/Mail is a symlink to /home/jocke/mail.  I've tried
calling folder_create() with the following url's:
        /home/jocke/mail
        /home/jocke/mail/
        /home/jocke/Mail
        /home/jocke/Mail/
        file://home/jocke/mail
        file://home/jocke/mail/
        file://home/jocke/Mail
        file://home/jocke/Mail/
        <file://home/jocke/mail>
        <file://home/jocke/mail/>
        <file://home/jocke/Mail>
        <file://home/jocke/Mail/>

Is it something obvious I've forgotten maybe?

Regards
 /Jocke








reply via email to

[Prev in Thread] Current Thread [Next in Thread]