[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-mailutils] maildir for mail.local
From: |
Sergey Poznyakoff |
Subject: |
Re: [bug-mailutils] maildir for mail.local |
Date: |
Thu, 02 Oct 2003 11:01:41 +0300 |
Sorry for delaying the answer:
Jeff Williams <address@hidden> wrote:
> Where does this trigger scanning of the mailbox? I had a look at
> mbox.c and could not find where it scans the mailbox. But assuming
> that it does, why does it do it? I suppose I am coming from a maildir
> mindset, but I can't see why you would have to scan the entire mailbox
> to add a message.
Possibly I didn't explain myself quite clearly. If you only call
mailbox_open+mailbox_append_message+mailbox_close, scanning should not
occure. However, almost any other call, such as mailbox_get_message,
mailbox_get_count, etc, will initiate the scanning if it has not been
done yet. So, care should be taken to avoid these calls.
> Ok, so this is different than opening the mailbox with MU_STREAM_APPEND?
No, it will be an improvement of the existing append mode.
Regards,
Sergey
- Re: [bug-mailutils] maildir for mail.local,
Sergey Poznyakoff <=