[Top][All Lists]

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

Re: [bug-mailutils] maildir support

From: Daniel 'NebuchadnezzaR' Dehennin
Subject: Re: [bug-mailutils] maildir support
Date: Sun, 18 Jan 2004 14:42:29 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Sergey Poznyakoff <address@hidden> writes:

> According to RFC2060 it must be selectable. However, I do not know yet
> how to do that in a transparent way (imap4d should not have any
> knowledge about the actual format of folders).

I think I have found where is the problem : 

if (status)
    if (stat (entry, &stats) == 0)
      status |=  (S_ISREG (stats.st_mode)) ? NOINFERIORS : NOSELECT;

So in imap4d/list.c:list_file we call print_dir if match return
NOSELECT and print_file if it return NOINFERIORS.

We may need another level of indirection to test it, calling a
is_selectable function implemented in each type of mailbox called
correctly after a format auto-detection.

We may want to force imap4d to create new mailbox in a certain format

Daniel 'NebuchadnezzaR' Dehennin
Récuppérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x4CA73DC6

Attachment: pgpWrGOqgINza.pgp
Description: PGP signature

reply via email to

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