bug-mailutils
[Top][All Lists]
Advanced

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

Re: [bug-mailutils] Usage of folder_ interface?


From: Sergey Poznyakoff
Subject: Re: [bug-mailutils] Usage of folder_ interface?
Date: Thu, 04 Dec 2003 12:34:22 +0200

Hi Stephen,

> I am looking into the mailutils' folder_* interface.  It seems that it
> only handles local directories, ie. a collection of mailboxes in a
> directory like /var/mail/.

Not quite so. The actual folder format is determined by its URL. For
tradition mailbox format (mbox:/ or path URLs), the folder is the local
mailspool directory. For IMAP mailbox (imap:/ URL) the folder represents
whatever namespace is presented to the user by the remote IMAP server,
etc.
 
> Is it not possible to process a collection of mailboxes no matter if
> it's mbox/maildir/mh or imap?
> I would expect mailutils to offer an interface so I can do the
> following.
[...]

Do you mean having a special utility to do so, or having a dedicated
library call to do so?
 
> ... but i find that eg. folder_create only accepts a file path string
> and not a proper url.

Folder_create creates a folder structure basing on the given URL. It is
up to underlying implementation to actually handle it.

Regards,
Sergey




reply via email to

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