bug-mailutils
[Top][All Lists]
Advanced

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

[bug-mailutils] Deleting mailboxes


From: Stephen Bylo
Subject: [bug-mailutils] Deleting mailboxes
Date: 05 Dec 2003 14:24:34 +0800

Hi All,

We would like to remove a mailbox.  We do not care what type the mailbox
is, ie. mbox, maildir, mh or imap.  We just want to call something like
mailbox_remove() and pass it the mbox object or a url.

I have looked into the way imap4d does it in the file imap4d/rename.c
and see that imap4d just uses remove() (man 3 remove).  Why does it not
use something like the above so the underlying implementation removes
the mailbox?  ie. imap4d could be removing a maildir and not just a file
(eg. mbox).

How should we remove a mailbox if we don't care what type of mailbox it
is?

Thanxs
Steve





reply via email to

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