[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: Mon, 29 Sep 2003 12:22:56 +0300

Jeff Williams <address@hidden> wrote:

> I am interested in adding support for mail.local to deliver to
> maildirs by adding the required methods for a maildir mailbox,


> I was wondering why mail.local doesn't use mailbox_append_message to
> add the new message? The performace hit of having to create a message
> object?

The main reason is that calling mailbox_append_message will trigger
scanning the entire user's mailbox, which is very ineffective now
and can slow down the delivery process considerably. On systems with
big number of users it will impose a considerable strain on mailservers.
That's why I went into all that trouble of opening mailbox stream and
delivering directly to it. In the short run I am going to implement the
new "append" mode for mailbox_open, which should make it possible to
use mailbox_append_message. This will simplify mail.local and make
it far more flexible.


reply via email to

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